Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
prisma avatar

Prisma Cli Dev

  • 15 installs
  • 8 repo stars
  • Updated February 9, 2026
  • prisma/cursor-plugin

prisma-cli-dev runs local Prisma database development workflows.

About

The prisma-cli-dev skill documents prisma dev for local database development workflows in Prisma projects. It covers starting the local Prisma-managed database environment, syncing schema during iterative development, and pairing with prisma generate for client updates. Workflow typical for local feature work: adjust schema.prisma, run prisma dev or related dev commands per project setup, generate client, and run application against the dev database. Notes address Prisma v7 explicit generate requirement and config file paths when not using defaults. Examples show common dev command invocations and integration with npm or bun scripts. Use when setting up or troubleshooting local Prisma database development loops rather than production migration deploys. Starts a local Prisma Postgres database for development. Provides a PostgreSQL-compatible database that runs entirely on your machine. Interactive mode with keyboard shortcuts: Shows all local Prisma Postgres instances with status.

  • Documents prisma dev local database workflow.
  • Pairs schema iteration with prisma generate in v7.
  • Covers dev environment startup and sync patterns.
  • Integrates with project npm or bun scripts.
  • Distinguishes dev loops from production migrate deploy.

Prisma Cli Dev by the numbers

  • 15 all-time installs (skills.sh)
  • Ranked #593 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

prisma-cli-dev capabilities & compatibility

Capabilities
prisma dev command reference · local development workflow examples
Works with
postgres · mysql
Use cases
database
IDEs
vscode · cursor ide
From the docs

What prisma-cli-dev says it does

prisma dev. Reference when using this Prisma feature
SKILL.md
Reference when using this Prisma feature
SKILL.md
npx skills add https://github.com/prisma/cursor-plugin --skill prisma-cli-dev

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs15
repo stars8
Last updatedFebruary 9, 2026
Repositoryprisma/cursor-plugin

How do I start local Prisma dev database iteration?

Run prisma dev for local database development and schema iteration workflows.

Who is it for?

Developers setting up local Prisma database dev loops.

Skip if: Skip for production migrate deploy-only tasks.

When should I use this skill?

User references prisma dev or local database development.

What you get

Working local Prisma dev database with generated client.

Files

SKILL.mdMarkdownGitHub ↗

prisma dev

Starts a local Prisma Postgres database for development. Provides a PostgreSQL-compatible database that runs entirely on your machine.

Command

prisma dev [options]

What It Does

  • Starts a local PostgreSQL-compatible database
  • Runs in your terminal or as a background process
  • Perfect for development and testing
  • Easy migration to Prisma Postgres cloud in production

Options

OptionDescriptionDefault
--name / -nName for the database instancedefault
--port / -pHTTP server port51213
--db-port / -PDatabase server port51214
--shadow-db-portShadow database port (for migrations)51215
--detach / -dRun in backgroundfalse
--debugEnable debug loggingfalse

Examples

Start local database

prisma dev

Interactive mode with keyboard shortcuts:

  • q - Quit
  • h - Show HTTP URL
  • t - Show TCP URLs

Named instance

prisma dev --name myproject

Useful for multiple projects.

Background mode

prisma dev --detach

Frees your terminal for other commands.

Custom ports

prisma dev --port 5000 --db-port 5432

Instance Management

List all instances

prisma dev ls

Shows all local Prisma Postgres instances with status.

Start existing instance

prisma dev start myproject

Starts a previously created instance in background.

Stop instance

prisma dev stop myproject

Stop with glob pattern

prisma dev stop "myproject*"

Stops all instances matching pattern.

Remove instance

prisma dev rm myproject

Removes instance data from filesystem.

Force remove (stops first)

prisma dev rm myproject --force

Configuration

Configure your prisma.config.ts to use local Prisma Postgres:

import 'dotenv/config'
import { defineConfig, env } from 'prisma/config'

export default defineConfig({
  schema: 'prisma/schema.prisma',
  migrations: {
    path: 'prisma/migrations',
  },
  datasource: {
    // Local Prisma Postgres URL (from prisma dev output)
    url: env('DATABASE_URL'),
  },
})

Workflow

1. Start local database:

   prisma dev

2. In another terminal, run migrations:

   prisma migrate dev

3. Generate client:

   prisma generate

4. Run your application

Production Migration

When ready for production, switch to Prisma Postgres cloud:

prisma init --db

Update your DATABASE_URL to the cloud connection string.

Related skills

FAQ

What does prisma-cli-dev do?

prisma-cli-dev runs local Prisma database development workflows.

When should I use prisma-cli-dev?

User references prisma dev or local database development.

Is this skill safe to install?

Review the Security Audits panel on this page before installing in production.

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.