Supabase CLI defaults detected coding-agent invocations to JSON
Introduced 2026-06-11 · score 0.95
HOW TO USE IT
When using Supabase CLI in a detected coding-agent environment, or with `--agent yes`, rely on JSON output unless you explicitly request another output mode, help, or version text. Use `--agent no` to keep human-oriented text output.
supabase --agent yes initsupabase --agent no initWHY THIS HELPS
Use Supabase CLI commands in a coding-agent environment that needs machine-readable output.
REQUIREMENTS AND LIMITATIONS
- Version: v2.106.0
- --agent <auto|yes|no>: Global flag for every command; overrides agent detection. `auto` is the default. The v2.106.0 release note says detected agent environments and `yes` default to JSON unless another output mode, help, or version text is explicitly requested; `no` keeps human-oriented text.
- Prerequisite: Install the Supabase CLI.
- Prerequisite: `--agent` is a global flag supported by the Supabase CLI; the reference lists `auto` as its default.
- JSON is the default only when a coding-agent environment is detected or `--agent yes` is passed.
- An explicitly requested output mode, help, or version text takes precedence.
FIRST-PARTY EVIDENCE
- https://github.com/supabase/cli/releases/tag/v2.106.0
- https://supabase.com/docs/reference/cli/global-flags
Check the installed version and the source before using it. Entry JSON