Supabase CLI

Product · Developer tool · Engineering & development by Supabase

Develop locally, manage migrations, and deploy to the Supabase Platform.

The Supabase CLI is a command-line toolset designed to help developers manage their Supabase projects throughout the entire development lifecycle. It allows for local development of Supabase applications, enabling developers to run a complete backend stack—including Postgres, Auth, and Storage—on their own machines. The CLI facilitates database migrations, allowing teams to track schema changes in version control and deploy them across different environments. It also provides tools for deploying Edge Functions and generating type definitions, ensuring a seamless workflow from local coding to p

Price
From 0 USD
Languages
Go, TypeScript
Installation Method
npm, brew, or binary download
Supported OS
macOS, Linux, Windows
Runtime Dependency
Docker (optional for native runtime)

Overview

The Supabase CLI is a command-line toolset designed to help developers manage their Supabase projects throughout the entire development lifecycle. It allows for local development of Supabase applications, enabling developers to run a complete backend stack—including Postgres, Auth, and Storage—on their own machines. The CLI facilitates database migrations, allowing teams to track schema changes in version control and deploy them across different environments. It also provides tools for deploying Edge Functions and generating type definitions, ensuring a seamless workflow from local coding to production deployment.

Development Workflow

  • Local Development: The CLI allows developers to run a full Supabase stack locally on their machine for development and testing.
  • Database Migrations: Manage database schema changes through version-controlled migration files.
  • Project Deployment: Deploy Edge Functions, database changes, and configuration directly from the terminal.
  • Type Generation: Generate TypeScript types directly from the database schema for type-safe development.

Advanced CLI Features

  • Native Runtime (Alpha): The CLI can run a local Supabase project as native processes on a machine without requiring Docker.
  • Parallel Local Projects: Support for running multiple local Supabase projects simultaneously for different apps or git worktrees.
  • RLS Testing Tools: Automated generation of pgTAP tests and seed data from existing Row Level Security policies.

Pricing

Open Source
Free

Specifications

Installation Method
npm, brew, or binary download
Supported OS
macOS, Linux, Windows
Runtime Dependency
Docker (optional for native runtime)

Added by AntSpace from public sources (supabase.com).

Related

More products by Supabase