All apps/Supabase CLI

Supabase CLI

supabase

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions.

Runs as supabase|macOS, Linux, Windows|supabase.com

Autocomplete

Fig spec, with what the manifest adds · 94 subcommands · 2 options
Published once and never changed; check the digest before caching
sha256
cde6612583fa9ebd454f7b215a0a01f28c7263fa340d9ce5e9b2a95c90803a79
Size
25806 bytes
Subcommands94 subcommands
supabase completion
Generate the autocompletion script for the specified shell
supabase completion bash
Generate the autocompletion script for bash
supabase completion fish
Generate the autocompletion script for fish
supabase completion powershell
Generate the autocompletion script for powershell
supabase completion zsh
Generate the autocompletion script for zsh
supabase db
Manage local Postgres databases
supabase db branch
Manage local database branches
supabase db branch create
Create a branch
supabase db branch delete
Delete a branch
supabase db branch list
List branches
supabase db branch switch
Switch the active branch
supabase db diff
Diffs the local database for schema changes
supabase db dump
Dumps data or schemas from the remote database
supabase db lint
Checks local database for typing error
supabase db pull
Pull schema from the remote database
supabase db push
Push new migrations to the remote database
supabase db remote
Manage remote databases
supabase db remote changes
Show changes on the remote database
supabase db remote commit
Commit remote changes as a new migration
supabase db reset
Resets the local database to current migrations
supabase functions
Manage Supabase Edge functions
supabase functions delete
Delete a Function from Supabase
supabase functions deploy
Deploy a Function to Supabase
supabase functions new
Create a new Function locally
supabase functions serve
Serve a Function locally
supabase gen
Run code generation tools
supabase gen types
Generate types from Postgres schema
supabase gen types typescript
Generate types for TypeScript
supabase init
Initialize a local project
supabase link
Link to a Supabase project
supabase login
Authenticate using an access token
supabase migration
Manage database migration scripts
supabase migration list
List local and remote migrations
supabase migration new
Create an empty migration script
supabase migration repair
Repair the migration history table
supabase migration squash
Squash migrations to a single file
supabase migration up
Apply pending migrations to local database
supabase orgs
Manage Supabase organizations
supabase orgs list
List all organizations
supabase projects
Manage Supabase projects
supabase projects create
Create a project on Supabase
supabase projects list
List all Supabase projects
supabase secrets
Manage Supabase secrets
supabase secrets list
List all secrets on Supabase
supabase secrets set
Set a secret(s) on Supabase
supabase secrets unset
Unset a secret(s) on Supabase
supabase start
Start containers for Supabase local development
supabase status
Show status of local Supabase containers
supabase stop
Stop all local Supabase containers
supabase help
Help about any command
supabase help completion
Generate the autocompletion script for the specified shell
supabase help completion bash
Generate the autocompletion script for bash
supabase help completion fish
Generate the autocompletion script for fish
supabase help completion powershell
Generate the autocompletion script for powershell
supabase help completion zsh
Generate the autocompletion script for zsh
supabase help db
Manage local Postgres databases
supabase help db branch
Manage local database branches
supabase help db branch create
Create a branch
supabase help db branch delete
Delete a branch
supabase help db branch list
List branches
supabase help db branch switch
Switch the active branch
supabase help db diff
Diffs the local database for schema changes
supabase help db lint
Checks local database for typing error
supabase help db push
Push new migrations to the remote database
supabase help db remote
Manage remote databases
supabase help db remote changes
Show changes on the remote database
supabase help db remote commit
Commit remote changes as a new migration
supabase help db reset
Resets the local database to current migrations
supabase help functions
Manage Supabase Edge functions
supabase help functions delete
Delete a Function from Supabase
supabase help functions deploy
Deploy a Function to Supabase
supabase help functions new
Create a new Function locally
supabase help functions serve
Serve a Function locally
supabase help gen
Run code generation tools
supabase help gen types
Generate types from Postgres schema
supabase help gen types typescript
Generate types for TypeScript
supabase help init
Initialize a local project
supabase help link
Link to a Supabase project
supabase help login
Authenticate using an access token
supabase help migration
Manage database migration scripts
supabase help migration list
List local and remote migrations
supabase help migration new
Create an empty migration script
supabase help orgs
Manage Supabase organizations
supabase help orgs list
List all organizations
supabase help projects
Manage Supabase projects
supabase help projects create
Create a project on Supabase
supabase help projects list
List all Supabase projects
supabase help secrets
Manage Supabase secrets
supabase help secrets list
List all secrets on Supabase
supabase help secrets set
Set a secret(s) on Supabase
supabase help secrets unset
Unset a secret(s) on Supabase
supabase help start
Start containers for Supabase local development
supabase help status
Show status of local Supabase containers
supabase help stop
Stop all local Supabase containers
OptionsOn supabase itself
--debug
Output debug logs to stderr
--help-h
Display help