# Install diff2html-cli with npm

Fast Diff to colorized HTML. Version 5.2.15 via npm; verified 2024-01-12. Also installable with nix: nix profile install nixpkgs#diff2html-cli.

## Install

```sh
sudo av install npm:diff2html-cli
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g diff2html-cli
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:diff2html-cli
- **Package manager:** npm
- **Version:** 5.2.15
- **Source summary:** Fast Diff to colorized HTML
- **Homepage:** <https://diff2html.xyz/index.html#cli>
- **Last updated:** 2024-01-12T21:17:26.572Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diff2html (alias)

## Install behavior

- Bottle: not available

## Freshness

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

## Security Notes

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


## Other Package-Manager Records

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


## Sources

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