Skip to main content
TerminalSync
All CLIs

Supabase CLI

Run a full local Supabase stack (Postgres + Auth + Storage + Studio), generate type-safe schemas, push migrations to production and ship edge functions — all without leaving the terminal. TerminalSync keeps the Supabase workflow and project context close to the terminal your AI is using.

database$ supabaseby Supabase
Install
brew install supabase/tap/supabase
Authenticate
supabase login

What it does

supabase is the official CLI for Supabase. It spins up a full local stack on Docker (Postgres + GoTrue + Storage + Studio + Realtime), generates TypeScript types from your live schema, manages migrations as plain SQL files in your repo, and deploys edge functions. It's the right tool for any non-trivial Supabase project.

What TerminalSync adds

  • Project workflow. Keep install, login, local stack and migration commands attached to the TerminalSync project, so a second Mac has the same runbook even if you still authenticate Supabase locally.
  • Memory across sessions. Your AI remembers which Supabase project you're working on, the latest migration, and your auth/storage schema — so "add an RLS policy" lands in the right file.
  • MCP bridge. Pair with the Supabase MCP connector to let your AI query your live database directly through the connector's own Supabase auth.

Typical commands

supabase init
supabase start
supabase db push                    # apply migrations to remote
supabase gen types typescript --local
supabase functions deploy my-fn
How does sync work? Today TerminalSync syncs GitHub CLI through a dedicated Auth Sync flow. For the other CLIs, this page gives you install, login and recommended commands; project secrets that land in .env files can travel through the folder's encrypted vault. Automatic per-CLI auth sync is a future layer.