prisma · Prisma Docs
Prisma dev (/docs/cli/dev)
How to use the Prisma CLI dev command to initialize, manage, and run a local Prisma Postgres database instance for development and testing.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Prisma dev (/docs/cli/dev)
How to use the Prisma CLI dev command to initialize, manage, and run a local Prisma Postgres database instance for development and testing.
When To Use
Use when you need to spin up a local Prisma Postgres database instance, manage multiple server instances with custom ports, or run the database server in detached mode for local development.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/prisma-dev-docs-cli-workflow-guide.md | Documentation detailing the usage, installation via package managers, and command options for the prisma dev CLI command. | Questions about documentation detailing the usage, installation via package managers, and command options for the prisma dev CLI comm... |
examples/prisma-dev-docs-cli-prisma-cli-dev-command-usage.bash | A bash command example demonstrating the usage of the prisma dev CLI command with its available options. | Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the prisma dev CLI command with its available options. |
examples/prisma-dev-docs-cli-prisma-cli-dev-bash-command.bash | A bash command example demonstrating the usage of the npx prisma dev CLI tool. | Exact payloads, commands, or snippets shown in A bash command example demonstrating the usage of the npx prisma dev CLI tool. |
examples/prisma-dev-docs-cli-prisma-cli-dev-pnpm-command.bash | A bash command demonstrating how to run the Prisma dev command using pnpm dlx. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command using pnpm dlx. |
examples/prisma-dev-docs-cli-prisma-cli-dev-bash-command-2.bash | A bash command demonstrating how to run the Prisma dev command using yarn dlx. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command using yarn dlx. |
examples/prisma-dev-docs-cli-prisma-cli-dev-bunx-command.bash | A bash command demonstrating how to run the Prisma dev command using bunx with the bun runtime. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command using bunx with the bun runtime. |
examples/prisma-dev-docs-cli-prisma-cli-dev-server-startup.text | The terminal output showing a successful startup of the Prisma dev server and its available interactive commands. | Exact payloads, commands, or snippets shown in The terminal output showing a successful startup of the Prisma dev server and its available interactive commands. |
examples/prisma-dev-docs-cli-prisma-cli-dev-command-usage-2.bash | A bash command example demonstrating how to use the npx prisma dev command with a custom database name. | Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the npx prisma dev command with a custom database name. |
examples/prisma-dev-docs-cli-prisma-cli-dev-command.bash | A bash command demonstrating how to use the prisma dev CLI tool with a custom database name. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev CLI tool with a custom database name. |
examples/prisma-dev-docs-cli-prisma-cli-dev-command-usage-3.bash | A bash command example demonstrating how to use the prisma dev command with a custom database name. | Exact payloads, commands, or snippets shown in A bash command example demonstrating how to use the prisma dev command with a custom database name. |
examples/prisma-dev-docs-cli-prisma-cli-dev-bash-command-3.bash | A bash command demonstrating how to run the prisma dev command using bunx with a specific database name. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma dev command using bunx with a specific database name. |
examples/prisma-dev-docs-cli-prisma-cli-dev-detach-command.bash | A bash command demonstrating how to run the Prisma dev command with the detach flag. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command with the detach flag. |
examples/prisma-dev-docs-cli-prisma-cli-dev-detach-command-2.bash | A bash command demonstrating how to run the Prisma dev command with the detach flag using pnpm. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command with the detach flag using pnpm. |
examples/prisma-dev-docs-cli-prisma-cli-dev-detach-command-3.bash | A bash command demonstrating how to run the prisma dev command with the detach flag. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma dev command with the detach flag. |
examples/prisma-dev-docs-cli-prisma-cli-dev-bash-command-4.bash | A bash command demonstrating how to run the Prisma dev command with the detach flag using bunx. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command with the detach flag using bunx. |
examples/prisma-dev-docs-cli-prisma-cli-dev-command-options.bash | A bash command demonstrating how to use the prisma dev CLI with custom ports for the application, database, and shadow database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to use the prisma dev CLI with custom ports for the application, database, and shado... |
examples/prisma-dev-docs-cli-prisma-cli-dev-command-options-2.bash | A bash command demonstrating how to run the prisma dev CLI with custom ports for the application, database, and shadow database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the prisma dev CLI with custom ports for the application, database, and shado... |
examples/prisma-dev-docs-cli-prisma-cli-dev-port-configuration.bash | A bash command demonstrating how to run the Prisma dev command with custom ports for the application, database, and shadow database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command with custom ports for the application, database, and s... |
examples/prisma-dev-docs-cli-prisma-cli-dev-bunx-command-options.bash | A bash command demonstrating how to run the Prisma dev command using bunx with custom port configurations for the application, database, and shadow database. | Exact payloads, commands, or snippets shown in A bash command demonstrating how to run the Prisma dev command using bunx with custom port configurations for the app... |
What This Skill Covers
- The prisma dev command starts a local Prisma Postgres database that you can run Prisma ORM commands against. It's useful for development and testing and allo...
- Main sections:
npm,pnpm,yarn,bun,npm.
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://www.prisma.io/docs/cli/dev