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 CLI Reference

Reference for Prisma ORM CLI commands. This skill provides guidance on command usage, options, and best practices for current Prisma ORM releases.

Boundary: Compute

Do not use this skill for Prisma Compute app deployment. Use prisma-compute for @prisma/cli app deploy, compute:deploy, create-prisma --deploy, Compute apps, deployments, logs, domains, and framework deploy readiness.

When to Apply

Reference this skill when:

  • 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)

Rule Categories by Priority

Installs
10.7K
Repository
prisma/skills
GitHub Stars
42
First Seen
Feb 4, 2026
prisma-cli — prisma/skills