prisma-cli

Document Prisma CLI v7.x commands for init, generate, migrate, db, studio, and MCP.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/znarfm/vet --skill prisma-cli-znarfm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-cli
Source: https://github.com/znarfm/vet/tree/main/.agents/skills/prisma-cli
Command: npx skills add https://github.com/znarfm/vet --skill prisma-cli-znarfm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prisma CLI commands are essential for bootstrapping, wiring, and managing Prisma projects; this reference consolidates all CLI commands, options, and usage patterns to help developers quickly find correct syntax and best practices.

Core Features & Use Cases

  • Comprehensive command reference covering init, generate, migrate, db, studio, and mcp with examples.
  • Workflow guidance for development, CI/CD, and local testing with aligned scenarios.
  • Quick access to command surface, options, inputs, and example usages across Prisma CLI v7.x.

Quick Start

Run a basic Prisma CLI task to quickly locate the appropriate command and usage pattern.

Frequently Asked Questions about prisma-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a new Prisma project and initialize the schema?

To initialize a Prisma project, use the `prisma init` command. This sets up your Prisma schema file and creates the initial directory structure required for database management.

What is the correct command to apply Prisma migrations in a CI/CD pipeline?

Applying Prisma migrations in CI requires the `prisma migrate deploy` command. This executes pending migrations without triggering interactive prompts, ensuring safe automated database updates.

How do I generate the Prisma client after updating my schema?

Generate the Prisma client by running the `prisma generate` command. This reads your updated schema and outputs the tailored TypeScript client code for database operations.

Can I use Prisma CLI v7.x to manage local database testing workflows?

Yes, Prisma CLI v7.x supports local database testing workflows. You can use `prisma db push` to sync schema changes and `prisma studio` to visually inspect local data.

What are the options for running Prisma MCP tooling in development?

Prisma CLI provides the `prisma mcp` command to run MCP tooling in development. This exposes database context and schema management capabilities to compatible MCP clients.