Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/supabase-local-development-cli-workflow-guide.mdA 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.shThe 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shA 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.shShell 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://supabase.com/docs/guides/cli