2026-02-18 06:55:01 -07:00
|
|
|
# supabase
|
|
|
|
|
|
|
|
|
|
> Develop, deploy, and manage Supabase projects locally and on the cloud.
|
|
|
|
|
> More information: <https://supabase.com/docs/reference/cli>.
|
|
|
|
|
|
|
|
|
|
- Log in to Supabase using an access token:
|
|
|
|
|
|
|
|
|
|
`supabase login`
|
|
|
|
|
|
|
|
|
|
- Initialize a new Supabase project in the current directory:
|
|
|
|
|
|
|
|
|
|
`supabase init`
|
|
|
|
|
|
|
|
|
|
- Start the local Supabase development stack:
|
|
|
|
|
|
|
|
|
|
`supabase start`
|
|
|
|
|
|
|
|
|
|
- Stop the local Supabase development stack:
|
|
|
|
|
|
|
|
|
|
`supabase stop`
|
|
|
|
|
|
|
|
|
|
- Show the status of the local Supabase development stack:
|
|
|
|
|
|
|
|
|
|
`supabase status`
|
|
|
|
|
|
|
|
|
|
- Link the current directory to a remote Supabase project:
|
|
|
|
|
|
|
|
|
|
`supabase link --project-ref {{project_id}}`
|
|
|
|
|
|
|
|
|
|
- List all Supabase projects:
|
|
|
|
|
|
|
|
|
|
`supabase projects list`
|
2026-06-12 17:51:25 -06:00
|
|
|
|
|
|
|
|
- Generate the autocompletion script for a specific shell:
|
|
|
|
|
|
|
|
|
|
`supabase completion {{bash|fish|zsh|...}}`
|