# @commitlint/cli

> Lint your commit messages

Latest version **21.2.2** (published 2026-08-13) · MIT license · 0 weekly downloads

## Install

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

Provides the command `commitlint`.

## Health

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

Positive: esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 21.2.2 |
| Published | 2026-08-13 |
| First published | 2017-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 8 |
| Unpacked size | 36.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18737 |
| Author | Mario Nebl |
| Maintainers | marionebl, martinhelmut, escapedcat, bycedric |
| Keywords | cli, commitlint, conventional-changelog |

## Links

- npm: https://www.npmjs.com/package/@commitlint/cli
- Repository: https://github.com/conventional-changelog/commitlint
- Homepage: https://commitlint.js.org/
- Issues: https://github.com/conventional-changelog/commitlint/issues
- npm.io page: https://npm.io/package/@commitlint/cli

## Dependencies (8)

- [yargs](https://npm.io/package/yargs.md) ^18.0.0
- [tinyexec](https://npm.io/package/tinyexec.md) ^1.0.0
- [@commitlint/lint](https://npm.io/package/@commitlint/lint.md) ^21.2.2
- [@commitlint/load](https://npm.io/package/@commitlint/load.md) ^21.2.2
- [@commitlint/read](https://npm.io/package/@commitlint/read.md) ^21.2.1
- [@commitlint/types](https://npm.io/package/@commitlint/types.md) ^21.2.0
- [@commitlint/format](https://npm.io/package/@commitlint/format.md) ^21.2.2
- [@commitlint/config-conventional](https://npm.io/package/@commitlint/config-conventional.md) ^21.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 21.2.2 (latest) — 2026-08-13
- 21.2.1 — 2026-07-08
- 21.2.0 — 2026-06-30
- 21.1.0 — 2026-06-23
- 21.0.2 — 2026-05-29
- 21.0.1 — 2026-05-12
- 21.0.0 — 2026-05-08
- 20.5.3 — 2026-04-30
- 20.5.2 — 2026-04-25
- 20.5.0 — 2026-03-15
- 20.4.4 — 2026-03-12
- 20.4.3 — 2026-03-03
- 20.4.2 — 2026-02-19
- 20.4.1 — 2026-02-02
- 20.4.0 — 2026-01-30
- … 151 more at https://npm.io/package/@commitlint/cli/versions

## README

# @commitlint/cli

<p align="center">
  <img width="750" src="https://commitlint.js.org/assets/commitlint.svg">
</p>

Lint commit messages

## Documentation

Consult [CLI reference](https://commitlint.js.org/reference/cli) for comprehensive documentation.

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