# Install diff-cover with npm

A Tool to Show Code Coverage for Modified Lines in a Diff. Version 2.0.5 via npm; verified 2026-01-27. Also installable with debian: sudo apt install diff-cover.

## Install

```sh
sudo av install npm:diff-cover
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g diff-cover
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:diff-cover
- **Package manager:** npm
- **Version:** 2.0.5
- **Source summary:** A Tool to Show Code Coverage for Modified Lines in a Diff
- **Homepage:** <https://github.com/jamesishandsome/diff_cover_ts#readme>
- **Last updated:** 2026-01-27T17:00:28.426Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diff-cover (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.5

## Security Notes

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


## Other Package-Manager Records

- Debian apt - diff-cover - 9.2.2-1: normalized package name match | Debian stable package indexes: diff-cover from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Run coverage and linting reports on diffs | https://github.com/Bachmann1234/diff-cover
- Ubuntu apt - diff-cover - 7.4.0-3: normalized package name match | Ubuntu 24.04 LTS package indexes: diff-cover from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Run coverage and linting reports on diffs | https://github.com/Bachmann1234/diff-cover


## Sources

- pkg.so package database
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
