
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)
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
What prisma-cli-dev says it does
prisma dev. Reference when using this Prisma feature
Reference when using this Prisma feature
npx skills add https://github.com/prisma/cursor-plugin --skill prisma-cli-devAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 15 |
|---|---|
| repo stars | ★ 8 |
| Last updated | February 9, 2026 |
| Repository | prisma/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
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
| Option | Description | Default |
|---|---|---|
--name / -n | Name for the database instance | default |
--port / -p | HTTP server port | 51213 |
--db-port / -P | Database server port | 51214 |
--shadow-db-port | Shadow database port (for migrations) | 51215 |
--detach / -d | Run in background | false |
--debug | Enable debug logging | false |
Examples
Start local database
prisma devInteractive mode with keyboard shortcuts:
q- Quith- Show HTTP URLt- Show TCP URLs
Named instance
prisma dev --name myprojectUseful for multiple projects.
Background mode
prisma dev --detachFrees your terminal for other commands.
Custom ports
prisma dev --port 5000 --db-port 5432Instance Management
List all instances
prisma dev lsShows all local Prisma Postgres instances with status.
Start existing instance
prisma dev start myprojectStarts a previously created instance in background.
Stop instance
prisma dev stop myprojectStop with glob pattern
prisma dev stop "myproject*"Stops all instances matching pattern.
Remove instance
prisma dev rm myprojectRemoves instance data from filesystem.
Force remove (stops first)
prisma dev rm myproject --forceConfiguration
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 dev2. In another terminal, run migrations:
prisma migrate dev3. Generate client:
prisma generate4. Run your application
Production Migration
When ready for production, switch to Prisma Postgres cloud:
prisma init --dbUpdate your DATABASE_URL to the cloud connection string.
{
"name": "prisma-cli-dev",
"version": "7.0.0",
"author": "prisma",
"license": "MIT"
}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.