# @prettier/cli

> A faster CLI for Prettier.

Latest version **0.12.0** (published 2026-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @prettier/cli
pnpm add @prettier/cli
yarn add @prettier/cli
bun add @prettier/cli
```

Provides the command `prettier-next`.

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.12.0 |
| Published | 2026-06-22 |
| First published | 2023-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 23 |
| Unpacked size | 98.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 43 |
| Maintainers | suchipi, mgrip, czosel, patrick91, zimme, azz, vjeux, evilebottnawi, kddeisz, shinigami92, j-f, lydell, fisker, sosukesuzuki |

## Links

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

## Dependencies (23)

- [kasi](https://npm.io/package/kasi.md) ^2.0.1
- [json5](https://npm.io/package/json5.md) ^2.2.3
- [lomemo](https://npm.io/package/lomemo.md) ^1.0.1
- [pioppo](https://npm.io/package/pioppo.md) ^1.2.1
- [js-yaml](https://npm.io/package/js-yaml.md) ^5.0.0
- [worktank](https://npm.io/package/worktank.md) ^3.0.2
- [smol-toml](https://npm.io/package/smol-toml.md) ^1.6.1
- [atomically](https://npm.io/package/atomically.md) ^2.1.1
- [specialist](https://npm.io/package/specialist.md) ^2.0.0
- [zeptomatch](https://npm.io/package/zeptomatch.md) ^2.1.0
- [fast-ignore](https://npm.io/package/fast-ignore.md) ^2.0.0
- [find-up-json](https://npm.io/package/find-up-json.md) ^2.0.5
- [tiny-readdir](https://npm.io/package/tiny-readdir.md) ^2.7.4
- [tiny-spinner](https://npm.io/package/tiny-spinner.md) ^2.0.5
- [function-once](https://npm.io/package/function-once.md) ^3.0.1
- [is-binary-path](https://npm.io/package/is-binary-path.md) ^3.0.0
- [tiny-editorconfig](https://npm.io/package/tiny-editorconfig.md) ^1.0.2
- [tiny-readdir-glob](https://npm.io/package/tiny-readdir-glob.md) ^1.23.2
- [zeptomatch-escape](https://npm.io/package/zeptomatch-escape.md) ^1.0.1
- [import-meta-resolve](https://npm.io/package/import-meta-resolve.md) ^4.2.0
- [zeptomatch-is-static](https://npm.io/package/zeptomatch-is-static.md) ^1.0.1
- [json-sorted-stringify](https://npm.io/package/json-sorted-stringify.md) ^1.0.2
- [promise-resolve-timeout](https://npm.io/package/promise-resolve-timeout.md) ^2.0.1

## Recent versions

- 0.12.0 (latest) — 2026-06-22
- 0.11.1 — 2026-06-15
- 0.11.0 — 2026-06-15
- 0.10.0 — 2025-11-17
- 0.9.0 — 2025-06-14
- 0.8.0 — 2025-05-06
- 0.7.6 — 2025-04-24
- 0.7.5 — 2025-04-24
- 0.7.4 — 2025-04-24
- 0.7.3 — 2025-04-23
- 0.7.2 — 2025-04-23
- 0.7.1 — 2025-03-06
- 0.7.0 — 2025-02-24
- 0.6.0 — 2024-09-02
- 0.5.0 — 2024-06-17
- … 8 more at https://npm.io/package/@prettier/cli/versions

## README

# prettier-cli

A faster CLI for Prettier.

The goal is to make this close to ~100% backwards compatible, and then just ship it in a future stable release of the `prettier` package, replacing the current CLI.

If you find any bugs, missing features, or unexpected slowness, please open an issue.

## Installation

```sh
npm install prettier@next
```

It should be largely backwards compatible:

```sh
prettier . --check # Like before, but faster
```

You can also try it via `npx`, though `npx` itself is pretty slow:

```sh
npx prettier@next . --check
```

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