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

Command form

ai-draft · 5 tasks · 7 fields

Link a project, push migrations, create migrations and deploy functions. Other subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui supabase

supabase link

Link to a project

Link the local directory to a Supabase project.

Link to a projectExample values, fixed in this page — nothing here reaches a terminal
Basic
Project ref*
string
Database password
string
TasksEach one presets the form for one job
Link project
project_refpassword
ParametersOnly these flags are editable in the form
Project ref
string
--project-ref
Database password
string
--password-p

supabase db push

Push migrations

Push new migrations to the remote database.

Push migrationsExample values, fixed in this page — nothing here reaches a terminal
Basic
Dry run set by task
--dry-run
TasksEach one presets the form for one job
Preview push
dry_run
Push migrations
dry_runpassword
ParametersOnly these flags are editable in the form
Dry run
Print the migrations that would be applied.
boolean
--dry-run
Database password
string
--password-p

supabase migration new

New migration

Create an empty migration script.

New migrationExample values, fixed in this page — nothing here reaches a terminal
Basic
Migration name*
string
TasksEach one presets the form for one job
Create migration
name
ParametersOnly these flags are editable in the form
Migration name
string · positional 0

supabase functions deploy

Deploy a function

Deploy an Edge Function to Supabase.

Deploy a functionExample values, fixed in this page — nothing here reaches a terminal
Basic
Project ref
string
Disable JWT verification
--no-verify-jwt
TasksEach one presets the form for one job
Deploy function
project_refno_verify_jwt
ParametersOnly these flags are editable in the form
Project ref
string
--project-ref
Disable JWT verification
boolean
--no-verify-jwt
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed supabase against its version. A form that does not match your version is not offered.