# @commitlint/prompt

> commitizen prompt using commitlint.config.js

Latest version **21.2.3** (published 2026-09-19) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 21.2.3 |
| Published | 2026-09-19 |
| First published | 2017-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 5 |
| Unpacked size | 45.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18755 |
| Author | Mario Nebl |
| Maintainers | marionebl, martinhelmut, escapedcat, bycedric |
| Keywords | commitizen, commitlint, conventional-changelog, cz, prompt |

## Links

- npm: https://www.npmjs.com/package/@commitlint/prompt
- 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/prompt

## Dependencies (5)

- [inquirer](https://npm.io/package/inquirer.md) ^9.2.15
- [picocolors](https://npm.io/package/picocolors.md) ^1.1.1
- [@commitlint/load](https://npm.io/package/@commitlint/load.md) ^21.2.3
- [@commitlint/types](https://npm.io/package/@commitlint/types.md) ^21.2.3
- [@commitlint/ensure](https://npm.io/package/@commitlint/ensure.md) ^21.2.3

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 21.2.3 (latest) — 2026-09-19
- 21.2.2 — 2026-08-13
- 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
- … 141 more at https://npm.io/package/@commitlint/prompt/versions

## README

# @commitlint/prompt

commitizen adapter using commitlint.config.js

This is the library and commitizen adapter version of commitlint prompt.
A ready-to-use cli version is available at [@commitlint/prompt-cli](../prompt-cli).
Learn how to use it in this [guide](https://commitlint.js.org/guides/use-prompt).

## Getting started

```bash
npm install --save-dev @commitlint/prompt @commitlint/config-conventional commitizen
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
```

In package.json

```
{
  "scripts": {
    "commit": "git-cz"
  },
  "config": {
    "commitizen": {
      "path": "@commitlint/prompt"
    }
  }
}
```

```bash
git add .
npm run commit
```

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