
Prisma Cli
A comprehensive reference for all Prisma CLI commands, from project setup to production migrations. Covers the current v7.6.0 command structure including the new prisma.config.ts configuration file, local development database commands, and the MCP server for AI tooling. Includes specific flags for different runtimes like Bun, handles both development workflows (migrate dev, db push) and production deployments (migrate deploy), and covers utility commands like Studio and schema validation. The reference is organized by priority and impact, making it easy to find the right command whether you're bootstrapping a new project or debugging migration issues in production.
- skills.sh installs
- 416.7K
- GitHub stars
- 80
- last updated
- Aug 21, 2026
Install
$ npx -y skills add prisma/skills --skill prisma-cli --agent claude-codeInstalls into .claude/skills of the current project.
Files
Prisma ORM 7 CLI reference
These commands and examples apply to Prisma ORM 7 only. For setup, connection repair, or a Prisma 8 application, load prisma-orm-setup.
Use the project's version-matched CLI. Do not install a floating prisma@latest to run these commands.
Boundary: Platform and Compute
Do not confuse the stable ORM command (prisma) with the public-beta Platform package (@prisma/cli, binary prisma-cli). Use prisma-compute for Compute apps and workspace auth, and prisma-postgres-setup for Platform projects and databases.
When to Apply
Reference this skill when:
- Setting up an explicitly selected Prisma 7 project (
prisma init) - Generating Prisma Client (
prisma generate) - Running database migrations (
prisma migrate) - Managing database state (
prisma db push/pull) - Using local development database (
prisma dev) - Debugging Prisma issues (
prisma debug) - Generating shell completions (
prisma complete)
Rule Categories by Priority
Sponsors
Details
- Repository
- github.com/prisma/skills
- Categories
- Backend & APIs, Code Review & Quality, AI & Agent Building, Debugging, CLI & Terminal, Databases