CLI Finder / tools / supabase-cli

Supabase CLI for local Postgres and project workflows

Manage local Supabase projects, migrations, generated types, and linked hosted environments from the terminal.

Agent Readiness: 82/100 Verified publisher Actively maintained
82 /100

Strong for database projects when agents are limited to local or read-only operations.

Structured output 74/100

Whether the CLI can return JSON, YAML, or stable machine-readable output.

Non-interactive use 84/100

Whether common workflows can run predictably without an interactive prompt.

Safety boundaries 64/100

Whether read-only, dry-run, scoped auth, and destructive command boundaries are clear.

Install options

Homebrew $ brew install supabase/tap/supabase
npm $ npm install -g supabase

Common commands

Check local status · safe $ supabase status

Shows local service URLs and connection information.

Generate types · requires review $ supabase gen types typescript --linked

Creates TypeScript types from the linked project schema.

Reset local database · destructive $ supabase db reset

Drops and rebuilds local data, so it should be confirmed.

Agent usage examples

Codex CLI Use Supabase CLI to inspect project status and generate types. Ask before reset, migration repair, secrets, or deploy commands.

Safety notes

  • Agents can safely inspect local status, linked projects, and generated types.
  • Database reset, migration repair, secrets, and deploy commands should require approval.
  • Use local development projects before touching hosted production data.

What agents can use it for

Supabase CLI helps agents inspect local development services, link projects, generate database types, and validate migration state.

Best fit

Use it for Supabase app development where local-first checks should happen before hosted project changes.