Back to Supabase

Local Dev with CLI

apps/docs/content/guides/cli.mdx

1.26.081.1 KB
Original Source

You can use the Supabase CLI to run the entire Supabase stack locally on your machine, by running supabase init and then supabase start. To install the CLI, read the installation guide.

The Supabase CLI provides tools to develop your project locally, deploy to the Supabase Platform, handle database migrations, and generate types directly from your database schema.

Resources

<div className="grid md:grid-cols-12 gap-4 not-prose"> <div className="col-span-6"> <Link href="https://github.com/supabase/cli" passHref> <GlassPanel icon={'/docs/img/icons/github-icon'} hasLightIcon={true} title="Supabase CLI"> The Supabase CLI provides tools to develop manage your Supabase projects from your local machine. </GlassPanel> </Link> </div> <div className="col-span-6"> <Link href="https://github.com/supabase/setup-cli" passHref> <GlassPanel icon={'/docs/img/icons/github-icon'} hasLightIcon={true} title="GitHub Action"> A GitHub action for interacting with your Supabase projects using the CLI. </GlassPanel> </Link> </div> </div>