Follow these steps to set up your local Supabase development environment:

<aside> <img src="/icons/info-alternate_gray.svg" alt="/icons/info-alternate_gray.svg" width="40px" />

The Supabase CLI uses Docker containers to manage the local development stack. Follow the official guide to install and configure Docker Desktop:

</aside>

1. Initialize Supabase Project

Create a new Supabase project in your current directory:

supabase init

2. Start Local Development Environment

Launch the Supabase local development stack:

supabase start

This command starts all necessary Docker containers for your local development.

3. Authentication

Log in to your Supabase account:

supabase login

4. Link to Remote Project

Connect your local project to your remote Supabase instance:

supabase link --project-ref lqhlpajntaewohpdqnwk

<aside> Note: You'll need to enter the database password. This can be found in NordPass under "Altly DB Password".

</aside>

5. Database Management

Pull the current database schema:

supabase db pull --schema public

<aside> If prompted for repair, select 'yes' to proceed.

</aside>