← Registry
CLI Official

Supabase CLI

Official CLI to run the full Supabase stack locally, manage Postgres migrations, deploy edge functions, run backups, and generate types from your schema.

Install

npm install -D supabase
$

The command-line tool for Supabase development, both locally and against hosted projects. With supabase start it boots the full local stack - Postgres, Auth, Realtime, Storage, Edge Functions, and the Supabase APIs - and it manages database migrations (migration new, db diff, db push, db reset), builds and deploys Edge Functions, and generates TypeScript types from a local or linked schema. Link a workspace to a remote project with supabase login and supabase link; install via npm, Homebrew, Scoop, or the install script.