Skip to content

CLI Exit Codes

Top-level caracal commands are limited to local runtime lifecycle, status, purge, run, and Console launch.

CommandSuccessFailure
caracal up0 after stack start succeeds.Non-zero when Compose/build/start fails.
caracal down0 after stack stop succeeds.Non-zero when Compose stop fails.
caracal status0 when health probes pass.1 when service health fails.
caracal status --ready0 when readiness probes pass.1 when dependency readiness fails.
caracal purge0 after selected state is removed.Non-zero when cleanup fails.
caracal run -- <command>Child process exit code after credentials are acquired.Non-zero before spawn when config, credential exchange, step-up, or governance fails.
caracal consoleConsole process exit code.Non-zero when Console launcher or TTY requirements fail.

caracal status --json emits machine-readable status. Console-owned diagnostics are available through the Console diagnostics view and management command catalog, not as top-level runtime CLI workflows.

Use Compatibility before changing supported runtime, package manager, deployment, or docs build targets.