Supabase
Open-source backend platform CLI. Manage databases, auth, storage, edge functions, and local development.
62 commands
Browse by Topic
Getting Started
Quick setup and installation
Database
Database operations
Functions
Edge Functions
Migrations
Database migrations
Auth
Authentication & secrets
Storage
File storage buckets
Inspect
Database diagnostics
Testing
pgTAP & test helpers
Branches
Database branching
Install Supabase CLI (macOS)
Install the Supabase CLI using Homebrew on macOS
Check Supabase CLI version
Verify Supabase CLI is installed and display version
Initialize Supabase project
Initialize a new Supabase project in the current directory
Show schema diff
Show differences between local and remote schema
Dump database
Dump database schema to SQL file
Lint database
Lint database for potential issues
Pull remote schema
Pull schema changes from remote database
Push schema changes
Push local schema changes to remote database
Reset database
Reset local database to initial state
Initialize Supabase
Initialize Supabase in current directory
Link to project
Link local project to remote Supabase project
Start local Supabase
Start local Supabase development stack
Check status
Show status of local Supabase services
Stop local Supabase
Stop local Supabase development stack
Delete function
Delete an Edge Function
Deploy all functions
Deploy all Edge Functions to remote
Deploy specific function
Deploy a specific Edge Function
List functions
List all deployed Edge Functions
Create new function
Create a new Edge Function
Serve functions locally
Serve Edge Functions locally for development
List migrations
List all migrations and their status
Create migration
Create a new migration file
Repair migrations
Repair migration history
Squash migrations
Squash migrations into a single file
Apply migrations
Apply pending migrations to local database
Generate TypeScript types
Generate TypeScript types from database schema
Generate types from remote
Generate TypeScript types from remote database
Login to Supabase
Login to Supabase account
List organizations
List all organizations
List projects
List all Supabase projects
List secrets
List all secrets for Edge Functions
Set secret
Set a secret for Edge Functions
Unset secret
Remove a secret from Edge Functions
Delete file from storage
Delete file from remote storage
Delete folder recursively
Delete folder and contents recursively
Download file from storage
Download file from remote storage
List local storage objects
List all storage objects locally
List remote storage objects
List remote storage objects
Move or rename object
Move or rename storage object
Upload file to storage
Upload file to storage bucket
Upload directory recursively
Upload directory recursively to storage
Show table and index bloat
Show table and index bloat estimation
Show blocking queries
Show queries holding locks and blocking others
List queries by frequency
List queries ordered by call frequency
Show index stats
Show index performance and usage stats
Show exclusive locks
Show queries with exclusive locks
List long-running queries
List queries running longer than 5 minutes
Show query outliers
Show statements by total execution time
Show vacuum stats
Show vacuum activity and dead row counts
Run database tests
Run all pgTAP database tests
Debug function with breakpoint
Serve function with debugger breakpoint
Create new test file
Create new pgTAP test file
Serve without JWT verification
Serve functions without JWT verification
Reset and seed database
Reset database and run seed file
Serve with test env
Serve functions with test environment
Create preview branch
Create new preview branch
Create persistent branch
Create persistent staging branch
Delete preview branch
Delete a preview branch
Disable branching
Disable branching for project
Get branch details
Get details about a preview branch
Export branch credentials
Export branch credentials as env vars
List preview branches
List all preview branches
Discussion
Loading comments...