# @prisma/cli-engine

> The execution engine of the unified Prisma CLI.

Latest version **0.6.2** (published 2026-09-29) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @prisma/cli-engine
pnpm add @prisma/cli-engine
yarn add @prisma/cli-engine
bun add @prisma/cli-engine
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2026-09-29 |
| First published | 2026-08-10 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.12.0 |
| Dependencies | 7 |
| Unpacked size | 372.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 23 |
| Maintainers | aqrln, prismabot, wmadden-prisma, rtbenfield |

## Links

- npm: https://www.npmjs.com/package/@prisma/cli-engine
- Repository: https://github.com/prisma/prisma-cli
- Homepage: https://github.com/prisma/prisma-cli#readme
- Issues: https://github.com/prisma/prisma-cli/issues
- npm.io page: https://npm.io/package/@prisma/cli-engine

## Dependencies (7)

- [c12](https://npm.io/package/c12.md) 3.3.4
- [arktype](https://npm.io/package/arktype.md) 2.2.3
- [colorette](https://npm.io/package/colorette.md) ^2.0.20
- [string-width](https://npm.io/package/string-width.md) ^8.2.1
- [@stricli/core](https://npm.io/package/@stricli/core.md) 1.3.0
- [@clack/prompts](https://npm.io/package/@clack/prompts.md) 1.5.0
- [package-manager-detector](https://npm.io/package/package-manager-detector.md) 1.8.0

## Recent versions

- 0.6.2 (latest) — 2026-09-29
- 0.6.1 (dev) — 2026-09-24
- 0.6.0 — 2026-09-22
- 0.5.0 — 2026-09-21
- 0.4.0 — 2026-09-13
- 0.3.0 — 2026-08-26
- 0.2.3 — 2026-08-25
- 0.2.2 — 2026-08-24
- 0.2.1 — 2026-08-24
- 0.2.0 — 2026-08-18
- 0.1.1 — 2026-08-17
- 0.1.0 — 2026-08-17
- 8.0.0-rc.2 — 2026-08-13
- 8.0.0-rc.1 — 2026-08-12
- 0.0.9 — 2026-08-11
- … 7 more at https://npm.io/package/@prisma/cli-engine/versions

## README

# @prisma/cli-engine

The execution engine of the unified Prisma CLI: it owns the path from argv to exit code — parsing, execution, rendering, and error handling.

Every command describes its output once, as blocks, and the engine renders it in one of three formats chosen by `--format`: `human` for a person at a terminal (padded, aligned, coloured, on stderr, with the machine-usable data lines on stdout), `json` for a program (a stream of frames ending in a result envelope on stdout), and `markdown` for an agent that reads the output as text (plain Markdown with every value labelled, everything on stdout, nothing on stderr). A terminal gets `human` and a pipe gets `json` unless a format is named; `markdown` is only ever explicit.

## Entry points

- `@prisma/cli-engine` — the engine: command definitions, context, and the runner.
- `@prisma/cli-engine/protocol` — the wire types for machine-readable (JSON) output.
- `@prisma/cli-engine/testing` — the test harness for running commands in-process.

Part of [prisma/prisma-cli](https://github.com/prisma/prisma-cli).

---
_Source: https://npm.io/package/@prisma/cli-engine · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
