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:
npm install supabase --save-dev
Run the CLI by prefixing each command with npx
(only applicable when installing through npm
):
npx supabase <command>
Updates#
When a new version is released, you can update the CLI using the same methods.
npm update supabase --save-dev