supabase · Supabase Docs
Supabase Local Development & CLI
Instructions for installing the Supabase CLI, initializing a project, and running a local Supabase stack using Docker to enable offline development and testing.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Supabase Local Development & CLI
Instructions for installing the Supabase CLI, initializing a project, and running a local Supabase stack using Docker to enable offline development and testing.
When To Use
Use when you need to set up a local Supabase development environment, run the Supabase stack on your machine via Docker, or manage database migrations and types locally.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/supabase-local-development-cli-workflow-guide.md | A guide explaining how to set up and use the Supabase CLI for local development using Docker. | Questions about a guide explaining how to set up and use the Supabase CLI for local development using Docker. |
examples/supabase-local-development-cli-supabase-cli-install-npm-command.sh | The npm command used to install the Supabase CLI as a development dependency. | Exact payloads, commands, or snippets shown in The npm command used to install the Supabase CLI as a development dependency. |
examples/supabase-local-development-cli-supabase-cli-install-command-shell.sh | A shell command for installing the Supabase CLI as a development dependency using yarn with experimental fetch disabled. | Exact payloads, commands, or snippets shown in A shell command for installing the Supabase CLI as a development dependency using yarn with experimental fetch disabled. |
examples/supabase-local-development-cli-supabase-cli-pnpm-install-command.sh | A shell command to install the Supabase CLI as a development dependency using pnpm. | Exact payloads, commands, or snippets shown in A shell command to install the Supabase CLI as a development dependency using pnpm. |
examples/supabase-local-development-cli-supabase-cli-macos-brew-install.sh | A shell command demonstrating how to install the Supabase CLI on macOS using Homebrew. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to install the Supabase CLI on macOS using Homebrew. |
examples/supabase-local-development-cli-supabase-cli-local-development-init-comma.sh | A shell command demonstrating how to initialize a new Supabase local development environment using the CLI. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to initialize a new Supabase local development environment using the CLI. |
examples/supabase-local-development-cli-supabase-cli-init-command.sh | A shell command demonstrating how to initialize a new Supabase project locally using the CLI. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to initialize a new Supabase project locally using the CLI. |
examples/supabase-local-development-cli-supabase-cli-init-command-2.sh | A shell command example demonstrating how to initialize a new Supabase project locally using the CLI. | Exact payloads, commands, or snippets shown in A shell command example demonstrating how to initialize a new Supabase project locally using the CLI. |
examples/supabase-local-development-cli-supabase-cli-init-command-3.sh | A shell script demonstrating the command to initialize a new Supabase local development project. | Exact payloads, commands, or snippets shown in A shell script demonstrating the command to initialize a new Supabase local development project. |
examples/supabase-local-development-cli-supabase-cli-local-development-start-comm.sh | A shell command demonstrating how to initialize and start local Supabase services using the npx supabase start command. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to initialize and start local Supabase services using the npx supabase start command. |
examples/supabase-local-development-cli-supabase-cli-local-development-start-comm-2.sh | A shell command demonstrating how to start the local Supabase development environment using yarn. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to start the local Supabase development environment using yarn. |
examples/supabase-local-development-cli-supabase-cli-local-development-start-comm-3.sh | A shell command demonstrating how to initialize and start the local Supabase development environment using the CLI. | Exact payloads, commands, or snippets shown in A shell command demonstrating how to initialize and start the local Supabase development environment using the CLI. |
examples/supabase-local-development-cli-supabase-cli-local-development-start-comm-4.sh | A shell command example demonstrating how to initialize and start the local Supabase development environment using the CLI. | Exact payloads, commands, or snippets shown in A shell command example demonstrating how to initialize and start the local Supabase development environment using th... |
examples/supabase-local-development-cli-supabase-cli-docker-network-setup.sh | Shell commands to create a custom Docker network and start the Supabase local development environment using a specific network ID. | Exact payloads, commands, or snippets shown in Shell commands to create a custom Docker network and start the Supabase local development environment using a specifi... |
What This Skill Covers
- Develop locally while running the Supabase stack on your machine.
- Main sections:
Quickstart,Local development,CLI.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://supabase.com/docs/guides/cli