prisma-cli

Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations.

prisma ↓ 33k
Claude Code
View source ↗

What it does

  • Setting up a new Prisma 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)
  • Run prisma generate explicitly after migrate dev, db push, or other schema syncs when you need fresh client output

Requirements & configuration

  • Run prisma generate explicitly after migrate dev, db push, or other schema syncs when you need fresh client output
  • Run prisma db seed explicitly after migrate dev or migrate reset when you need seed data
  • Use the command categories above for navigation, then open the specific command reference file you need.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Complete reference for Prisma CLI commands, options, and workflows across setup, migrations, and database operations.

Source

Repository: https://github.com/prisma/skills

prisma-cli FAQ

What does the prisma-cli skill do?

Prisma ORM CLI commands reference covering init, generate, migrate, db, dev, studio, validate, format, debug, and mcp. Use for ORM/database CLI workflows, not Prisma Compute app deployment. For Prisma Compute, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, apps, deployments, logs, or domains, use the `prisma-compute` skill instead. Triggers on "prisma init", "prisma generate", "prisma migrate", "prisma db", "prisma studio", "prisma mcp". Setting up a new Prisma project (prisma init) Generating Prisma Client (prisma generate)

What does prisma-cli require?

Run prisma generate explicitly after migrate dev, db push, or other schema syncs when you need fresh client output Run prisma db seed explicitly after migrate dev or migrate reset when you need seed data Use the command categories above for navigation, then open the specific command reference file you need.

How do I install prisma-cli?

Run: npx -y skills add https://github.com/prisma/skills --skill prisma-cli --agent claude-code — the source lives at github.com/prisma/skills.

Maintain prisma-cli?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

prisma-cli on getagentictools
[![prisma-cli on getagentictools](https://getagentictools.com/badge/skills/prisma-skills-prisma-cli.svg)](https://getagentictools.com/skills/prisma-skills-prisma-cli?ref=badge)
npx agentictools info skills/prisma-skills-prisma-cli

The second line is the CLI lookup for this page — handy in READMEs and docs.