Skip to main content
CodeGate supports five output formats. The default is terminal. Use --format to select a format and --output to write to a file instead of stdout.
You can also set a persistent default in ~/.codegate/config.json:

Formats

The default format. Renders an interactive TUI (terminal user interface) when a TTY is available. The TUI presents findings grouped by severity, supports keyboard navigation, and shows inline remediation guidance.Disable the TUI to get plain text output suitable for log capture:
Add --verbose for extended output including additional finding fields:
The terminal format is always used by codegate run. Machine-readable formats are only available from codegate scan.

Format comparison

Exit codes

All formats produce the same exit code regardless of which format is selected.