# Install lint-staged with npm

Lint files staged by git. Version 17.2.0 via npm; verified 2026-07-23. Also installable with nix: nix profile install nixpkgs#lint-staged.

## Install

```sh
sudo av install npm:lint-staged
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g lint-staged
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:lint-staged
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/lint-staged>
- **Version:** 17.2.0
- **Source summary:** Lint files staged by git
- **Homepage:** <https://github.com/lint-staged/lint-staged#readme>
- **Repository:** <https://github.com/lint-staged/lint-staged>
- **Upstream docs:** <https://github.com/lint-staged/lint-staged#readme>
- **License:** MIT
- **Issue tracker:** <https://github.com/lint-staged/lint-staged/issues>
- **Published:** 2026-07-23T09:51:23.069Z
- **Last updated:** 2026-07-23T09:51:23.069Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- lint-staged (cli)
- lint-staged (alias)

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 17.2.0
- Package-manager updated: 2026-07-23
- Local data: ok
- Upstream repository: https://github.com/lint-staged/lint-staged
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Beta: 11.3.0-beta.2, Latest: 17.2.0, Next: 13.1.4
- **Version Count:** 294
- **Maintainers:** okonet, iiroj
- **Author:** Andrey Okonetchnikov
- **File Count:** 0
- **Created At:** 2016-01-15T11:00:29.432Z
- **Latest Published At:** 2026-07-23T09:51:23.069Z
- **Modified At:** 2026-07-23T09:51:23.069Z

## Other Package-Manager Records

- Nix - lint-staged: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/lint-staged/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched curated package taxonomy and local package facts.
- [lint-prepush](https://pkg.so/npm/lint-prepush/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, files, git.
- [lint-to-the-future](https://pkg.so/npm/lint-to-the-future/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, lint, linting.
- [nano-staged](https://pkg.so/npm/nano-staged/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, git.

## 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
