Supabase CLI

Run the full Supabase stack locally and ship migrations, edge functions, and types from your terminal.

Tool
npm
v2.115.0
2,391stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
95/100Excellent
Development Activity100
Maintenance100
Community80
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
84/100Excellent
Architecture87
Code Quality88
Innovation84
Learning Curve75

The Supabase CLI brings the entire Supabase Platform to your terminal. It spins up a complete local stack (Postgres, Auth, Storage, Realtime, Edge Functions, and Studio) via Docker, so you can develop against a real Supabase environment offline and then push to a hosted project.

Beyond local dev, the CLI manages the database schema lifecycle end to end: authoring and applying Postgres migrations, diffing local against remote, seeding data, generating TypeScript types from your schema, deploying Edge Functions, and automating project workflows in CI. Distributed on npm as supabase, it is the primary tool teams use to keep local, staging, and production Supabase environments in sync.

What You Get

  • A full local Supabase stack (Postgres, Auth, Storage, Realtime, Studio, Edge Functions) via supabase start
  • Postgres migration authoring, diffing, and application against local and remote databases
  • Edge Function development and deployment (supabase functions serve / deploy)
  • TypeScript type generation from your live database schema
  • CI-friendly, non-interactive commands for automating project and branch workflows

Common Use Cases

  • Developing against a full Supabase stack locally without touching a hosted project
  • Versioning database schema changes as migrations and applying them across environments
  • Deploying and testing Edge Functions from the terminal
  • Generating typed database clients for type-safe queries in a TypeScript app

Under The Hood

Architecture - The repo is an Nx/pnpm monorepo (apps/, packages/) where apps/cli-go holds the historical Go command core and apps/cli wraps and ships it as the npm supabase package. Platform-specific binaries are published as sibling cli-<os>-<arch> packages, and the npm entry point (dist/supabase.js) selects the correct sidecar binary at runtime. Local services are orchestrated as Docker containers driven by the config in packages/config and process-compose.

Tech Stack - Primarily Go for the CLI core with a large TypeScript surface for the newer command layer and tooling, plus PLpgSQL for database logic and shell install scripts. Build and release use Nx, pnpm workspaces, mise, and Verdaccio for local package testing.

Code Quality - The project is very actively maintained (hundreds of commits per month, 180+ contributors) with dedicated test suites (apps/cli/tests, apps/cli-e2e, Vitest configs) and CI workflows. Structure is modular, splitting per-platform binaries and command layers cleanly.

API Design - The command surface follows an intuitive supabase <resource> <action> grammar (db push, functions deploy, gen types, start/stop) that mirrors the platform’s mental model. Rich --help, generated docs under docs/, and sensible defaults keep the getting-started path short despite the breadth of functionality.

Used by 6 apps in this directory

TypeScript
51%
MIT

Anarlog

Note Taking · AI Assistants · Productivity

9,087

Anarlog is an open-source, local-first AI meeting notetaker that records, transcribes, and summarizes meetings entirely on your device — no cloud lock-in, no mandatory account, and every note saved as a plain markdown file you own forever.

View details
86
Repo Health
77
Technical
69
Dependency
Built with
TypeScript51%
Rust38%
Updated today
TypeScript
96%
AGPL 3.0

Midday

Invoicing Finance · Productivity

14,770

All-in-one AI-powered business operations platform for freelancers and solo entrepreneurs to manage invoicing, time tracking, banking, and financial intelligence.

View details
56
Repo Health
78
Technical
72
Dependency
Built with
TypeScript96%
Updated 2 months ago
TypeScript
99%
Apache 2.0

Onlook

Design Tools · AI Design Tools

26,512

An open-source, AI-first visual editor that lets designers and developers build, style, and deploy React apps directly in code — no handoff required.

View details
66
Repo Health
80
Technical
68
Dependency
Built with
TypeScript99%
Updated 4 weeks ago
TypeScript
84%
MIT

Plasmic

CMS · Low Code Platforms · No Code Platforms

6,961

The open-source visual builder that lets teams design React apps and websites with drag-and-drop while integrating seamlessly with your codebase.

View details
81
Repo Health
78
Technical
65
Dependency
Built with
TypeScript84%
Updated today
TypeScript
71%
Apache 2.0

Supabase

Developer Tools · Databases · Search

108,148

The open-source Postgres development platform that replaces Firebase with authentication, real-time APIs, edge functions, storage, and vector embeddings — all built on PostgreSQL.

View details
90
Repo Health
91
Technical
66
Dependency
Built with
TypeScript71%
MDX26%
Updated today
TypeScript
96%
Other

superglue

AI Agents · Data Engineering · Developer Tools

2,046

superglue is an AI-agent-driven integration engine that turns plain-English descriptions of enterprise systems into production-grade API tools, ERP/CRM connectors, and data pipelines — self-hosted or cloud, Y Combinator-backed (W25).

View details
50
Repo Health
79
Technical
72
Dependency
Built with
TypeScript96%
Updated 1 months ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search