Skip to main content

Exit Codes

Every command returns an integer process exit code.

CodeMeaning
0Success.
1BgngError, typed CLI errors, API errors, config errors, or unexpected errors.

There are no other meaningful exit codes today. Scripts that need to branch by failure type should parse stderr or use --json where the command supports structured output.