
Supabase CLI
Runs the Supabase stack locally, manages Postgres migrations, deploys Edge Functions, and generates TypeScript types from your database schema.
Supabase CLI is a command-line tool for developing against the Supabase Platform from a terminal. It runs a local Supabase stack (Postgres, Auth, Realtime, Storage, Edge Functions, and the Supabase APIs) via supabase init, supabase start, and supabase status, and can scaffold a project from a template with supabase bootstrap.
For database work, it creates migrations (supabase migration new), compares schemas (supabase db diff), and applies changes with supabase db push or supabase db reset, either locally or against a linked hosted project. supabase login and supabase link connect a local workspace to a hosted Supabase project.
It also handles Edge Functions (functions new, functions serve, functions deploy) and generates TypeScript types from a local or linked database with supabase gen types --local or --linked. Every command supports --help for flags and examples.
It is aimed at developers building on Supabase who want local development and deployment in one workflow. It installs through npm, Homebrew, Scoop, or Linux packages (.apk, .deb, .rpm, .pkg.tar.zst), with beta channels for npm, Homebrew, and Scoop.
Installation
# via Homebrew
brew install supabase/tap/supabase
# via npm
npm install -D supabase
# via Scoop
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase
Alternatives & related tools
concurrently
Node.js CLI that runs multiple shell commands in parallel with prefixed, colored output and options to kill or restart processes. Works on Windows.
npm-check-updates
CLI that upgrades package.json dependencies to their latest versions, preserving semver range operators. Works with npm, yarn, pnpm, deno, and bun.
tsx
TypeScript Execute (tsx): a CLI for running TypeScript files directly in Node.js.
Vercel CLI
Command-line interface for the Vercel platform: deploy projects, run them locally with vercel dev, and manage deployments from the terminal.
Angular CLI
Command-line tool for creating, serving, scaffolding, and maintaining Angular applications and workspaces via the ng command.
add a badge to your README
Maintain Supabase CLI? Show that it's featured on trmn. The badge links back to this page.
[](https://www.trmn.sh/tools/supabase-cli?utm_source=badge)<a href="https://www.trmn.sh/tools/supabase-cli?utm_source=badge"><img src="https://www.trmn.sh/badge/supabase-cli.svg" alt="Featured on trmn" height="20"></a>