# Installer diffr avec Homebrew, apt, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de diffr pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:diffr
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install diffr
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diffr
```

  Preuve: MacPorts ports tree: textproc/diffr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install diffr
```

  Preuve: Debian stable package indexes: diffr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#diffr
```

  Preuve: nixpkgs package indexes: pkgs/by-name/di/diffr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:diffr
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.1.5
- **Résumé source:** LCS based diff highlighting tool to ease code review from your terminal
- **Page d'accueil:** <https://github.com/mookid/diffr>
- **Dépôt:** <https://github.com/mookid/diffr>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- diffr (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.1.5
## Historique du projet et usages

diffr is a terminal filter that refines unified diffs with word-level highlighting, making code review easier when ordinary line-oriented output is too coarse.

### Historique du projet

The changelog records the initial 0.1.0 release on 2019-07-01. Early releases added color customization, split reusable logic into `diffr-lib`, optimized LCS post-processing, and added line-number display.

### Historique d'adoption

The official README documents installation through Homebrew, Arch AUR, Cargo, and direct source builds. It also shows diffr configured as a Git pager and interactive diff filter, which is the main adoption path for daily review use.

### Modes d'utilisation

diffr reads unified diff input on stdin and writes enhanced output on stdout. The README shows `git show HEAD | diffr` for one-off use and `.gitconfig` settings that route Git paging and interactive diffs through diffr.

### Pourquoi les passionnés de paquets s'y intéressent

diffr matters to package and source maintainers because it stays in the Unix-filter tradition: no repository database, no review server, just a small CLI that improves the diffs developers already pipe around.

### Chronologie

- 2019: 0.1.0 initial release.
- 2019: 0.1.2 split reusable logic into diffr-lib.
- 2020: 0.1.3 added line-number display.

### Related projects

- The README calls diffr an improvement on Git's diff-highlight script and notes Git's built-in `--word-diff` and `--color-words` options as related approaches.

### Sources

- <https://github.com/mookid/diffr#readme>
- <https://github.com/mookid/diffr/blob/master/CHANGELOG.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - diffr - 0.1.5-2+b7: normalized package name match | Debian stable package indexes: diffr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LCS based diff highlighting tool to ease code review from your terminal | https://github.com/mookid/diffr
- Nix - diffr: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diffr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - diffr - 0.1.5-2: normalized package name match | Ubuntu 24.04 LTS package indexes: diffr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LCS based diff highlighting tool to ease code review from your terminal | https://github.com/mookid/diffr
- MacPorts - diffr: normalized package name match | MacPorts ports tree: textproc/diffr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/diffr.yml](https://github.com/mxcl/pkgdb/blob/main/combined/diffr.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
