{"schemaVersion":"opencli.cli.v1","slug":"prisma","name":"Prisma CLI","shortName":"prisma","binaryName":"prisma","maker":{"slug":"prisma","name":"Prisma","type":"org","url":"https://prisma.io","officialPlatformMaker":true,"featuredBuilder":false},"category":"Database","description":"The official CLI from Prisma. Schema design, migrations, and type-safe db workflows from the terminal.","tagline":"Schema design, migrations, and type-safe db workflows from the terminal.","install":{"packageManager":"npm","command":"npm i -g prisma","packageName":null,"npmPackage":"prisma","brewFormula":null,"brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"prisma --version","signal":"prisma responds locally and is ready for the first real command."},"quickStart":"prisma init && prisma migrate dev","exampleWorkflow":["prisma init && prisma migrate dev"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/prisma/agent.md","packMarkdown":"# OpenCLI Agent Pack: Prisma CLI\n\nUse this when an AI agent needs to work with `prisma`.\n\n## What this CLI is for\nThe official CLI from Prisma. Schema design, migrations, and type-safe db workflows from the terminal.\n\nBest for: schema design, migrations, and type-safe db workflows from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nnpm i -g prisma\n```\n\n## Verify before real work\n```sh\nprisma --version\n```\nExpected signal: prisma responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nprisma --version\n```\n\n```sh\nprisma init && prisma migrate dev\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Prisma CLI (`prisma`) for schema design, migrations, and type-safe db workflows from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"schema design, migrations, and type-safe db workflows from the terminal.","useThisIf":"You need databases in both local dev and CI.","skipIf":"You don't work with databases.","whatHappensNext":"Run `prisma init && prisma migrate dev` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Schema design","Migrations","Type-safe DB workflows"],"aliases":["prisma cli"],"keywords":["database schema migrate"],"tags":["official","agent-friendly","ci-friendly"]},"links":{"website":"https://www.prisma.io/docs/orm/tools/prisma-cli","github":"https://github.com/prisma/prisma","docs":"https://www.prisma.io/docs/orm/tools/prisma-cli","opencli":"https://opencli.co/cli/prisma","markdown":"https://opencli.co/cli/prisma/agent.md","json":"https://opencli.co/cli/prisma.json"},"metrics":{"githubStars":46231,"latestRelease":"2026-06-08T08:39:25Z","license":"Apache-2.0","metricLabel":"npm weekly downloads","metricValue":12395472,"metricSource":"npm","metricAsOf":"2026-06-08T11:00:34.084Z"}}