Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.05 KB

File metadata and controls

63 lines (42 loc) · 1.05 KB
title Getting started
description Install the Supabase CLI, authenticate, and run your first command.

Install

brew install supabase/tap/supabase
npx supabase
scoop bucket add supabase https://github.com/supabase/scoop-bucket.git
scoop install supabase

Verify the installation:

supabase --version

Authenticate

Log in so the CLI can access your Supabase projects:

supabase login

This opens your browser for OAuth. To use a token instead (useful in CI):

supabase login --token sbp_your_token_here

See supabase login for all options.

Initialize a project

Create a new Supabase project in the current directory:

supabase init

Start local development

Spin up a local Supabase stack (Postgres, Auth, Storage, etc.):

supabase start

Your local API URL and keys are printed once the stack is ready.

Next steps