CLI Finder / tools / supabase-cli

ローカル Postgres とプロジェクト作業のための Supabase CLI

ローカル Supabase、マイグレーション、型生成、リンク済み環境をターミナルで管理できます。

Agent 適合度: 82/100 検証済み発行元 継続的にメンテナンス中
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.

インストール方法

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

よく使うコマンド

Check local status · 安全 $ supabase status

Shows local service URLs and connection information.

Generate types · 要確認 $ supabase gen types typescript --linked

Creates TypeScript types from the linked project schema.

Reset local database · 破壊的 $ supabase db reset

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

Agent 使用例

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

安全メモ

  • 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.

Agent が使えること

Supabase CLI はローカルサービス確認、プロジェクト連携、DB 型生成、マイグレーション状態確認に役立ちます。

向いている用途

ホスト環境を変更する前にローカル確認を行う Supabase アプリ開発に適しています。