prisma-cli

Installation
Summary

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

  • Covers 20+ commands organized by priority: setup (init), generation (generate), development (dev), database operations (db pull/push/seed/execute), and migrations (migrate dev/deploy/reset/status/diff/resolve)
  • Includes Prisma 7.x changes: new prisma.config.ts configuration file, removed flags (--skip-generate, --skip-seed, --schema, --url), and explicit environment variable loading via dotenv
  • Supports local Prisma Postgres development (prisma dev), schema introspection (db pull), direct schema application (db push), and database seeding
  • Provides Bun runtime support with --bun flag and utility commands for schema validation, formatting, and Prisma Studio access
SKILL.md

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

Installs
363.3K
Repository
prisma/skills
GitHub Stars
70
First Seen
Feb 4, 2026