Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/prisma-dev-docs-cli-workflow-guide.mdDocumentation 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.textThe 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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.bashA 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

  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://www.prisma.io/docs/cli/dev