SuperAPI AI Directory

Supabase CLI

Deployment & operations

View repository

Updated 10-15 20:25

About this skill

Supabase CLI

Manage Postgres databases, auth, edge functions, and storage.

Installation

npx supabase --help

Key Commands

npx supabase init
npx supabase start                    # local dev stack
npx supabase db push                  # apply migrations
npx supabase db diff --schema public  # generate migration
npx supabase functions deploy my-func
npx supabase gen types typescript --local
npx supabase migration new my_change
npx supabase db reset
npx supabase link --project-ref <ref>
npx supabase secrets set KEY=value

Agent-Friendly Features

  • Local development with supabase start
  • Database diffing and migration generation
  • TypeScript type generation from schema
  • Edge function deployment
  • Token auth via SUPABASE_ACCESS_TOKEN