# Install commitlint with npm

Lint your commit messages. Version 21.2.1 via npm; verified 2026-07-08. Also installable with nix: nix profile install nixpkgs#commitlint.

## Install

```sh
sudo av install npm:commitlint
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g commitlint
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:commitlint
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/commitlint>
- **Version:** 21.2.1
- **Source summary:** Lint your commit messages
- **Homepage:** <https://commitlint.js.org/>
- **Repository:** <https://github.com/conventional-changelog/commitlint>
- **Upstream docs:** <https://commitlint.js.org/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/commitlint/-/commitlint-21.2.1.tgz>
- **Issue tracker:** <https://github.com/conventional-changelog/commitlint/issues>
- **Published:** 2026-07-08T07:48:08.940Z
- **Last updated:** 2026-07-08T07:48:08.940Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- commitlint (cli)

## Dependencies

- @commitlint/cli
- @commitlint/types

## Build dependencies

- @commitlint/test
- @commitlint/utils
- tinyexec

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 21.2.1
- Package-manager updated: 2026-07-08
- Local data: ok
- Upstream repository: https://github.com/conventional-changelog/commitlint
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for commitlint. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 21.2.1
- **Version Count:** 149
- **Maintainers:** marionebl, martinhelmut, escapedcat, bycedric
- **Author:** Mario Nebl
- **Publisher:** escapedcat
- **Engines:** Node: >=22.12.0
- **Integrity:** sha512-Ki6U66eL6wXsZf/is2qCs/6W2fNeF/WL2GSiacnuf2wwmCPapjtOoUvwfwMoqUAwosKbJfXVwr2iLnV08J7JmA==
- **Shasum:** 7071162bba278d963187ff26c24966ac9a1a0794
- **Unpacked Size:** 2,283
- **File Count:** 0
- **Created At:** 2017-10-14T09:41:14.660Z
- **Latest Published At:** 2026-07-08T07:48:08.940Z
- **Modified At:** 2026-07-08T07:48:09.073Z

## Other Package-Manager Records

- Nix - commitlint: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/commitlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Commitlint.Commitlint: normalized package name match | Windows Package Manager source index: Commitlint.Commitlint from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [commitlint](https://pkg.so/brew/commitlint/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, commit, commitlint, conventional, developer.
- [coffeelint](https://pkg.so/npm/coffeelint/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.
- [colorguard](https://pkg.so/npm/colorguard/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.
- [commitlint](https://pkg.so/brew/commitlint/) - Same normalized package name exists in another local package ecosystem.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
