Home

Supabase CLI

The Supabase CLI provides tools to develop your project locally and deploy to the Supabase Platform. You can also use the CLI to manage your Supabase projects, handle database migrations and CI/CD workflows, and generate types directly from your database schema.

Installation#

Install the CLI as dev dependency via npm:


_10
npm install supabase --save-dev

Run the CLI by prefixing each command with npx (only applicable when installing through npm):


_10
npx supabase <command>

Updates#

When a new version is released, you can update the CLI using the same methods.


_10
npm update supabase --save-dev

See also#