# Installer dwdiff avec Homebrew, apt, MacPorts, Nix

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

## installation

```sh
sudo av install brew:dwdiff
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install dwdiff
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dwdiff
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install dwdiff
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#dwdiff
```

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

## Faits du paquet

- **Clé du paquet:** brew:dwdiff
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/dwdiff>
- **Version:** 2.1.4
- **Résumé source:** Diff that operates at the word level
- **Page d'accueil:** <https://os.ghalkes.nl/dwdiff.html>
- **Docs amont:** <https://os.ghalkes.nl/dwdiff.html>
- **Licence:** GPL-3.0-only
- **Archive source:** <https://os.ghalkes.nl/dist/dwdiff-2.1.4.tar.bz2>
- **Dernière mise à jour:** 2026-06-22T14:03:13-07:00
- **Généré:** 2026-07-08T18:08:21+00:00

## exécutables

- dwdiff (cli)
- dwfilter (cli)
- dwdiff (alias)
- dwfilter (alias)

## Dépendances

- gettext
- icu4c@78

## Dépendances de compilation

- gettext
- pkgconf

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 2.1.4
- gestionnaire mis à jour: 2026-06-22
- données locales: OK
- dépôt amont: https://os.ghalkes.nl/dwdiff.html
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

dwdiff is G. P. Halkes' word-level diff utility. The official page positions it against wdiff: mostly command-line compatible, but with user-defined whitespace and delimiter handling so punctuation or other single characters can be treated as words.

### Historique du projet

The official copyright notice covers 2006-2018 and 2020, and the official distribution directory carries 1.0 release artifacts. Later 2.1.x news entries show maintenance releases in 2018 and 2020 for ICU/pkg-config and compiler compatibility rather than feature expansion.

### Historique d'adoption

The official download section says several Linux distributions and BSDs shipped packages or ports, naming Fedora, FreeBSD, and OpenBSD, with additional Unix packaging through Sunfreeware, MacPorts, Homebrew, Slackbuilds.org, Slacky.eu, and OpenPKG. The batch input adds Debian, Ubuntu, Nix, MacPorts, and Homebrew entries.

### Modes d'utilisation

dwdiff compares text at word granularity and prints the new text annotated with insertion and deletion markers by default. It is useful when line diffs are too coarse, especially prose, documentation, localization, and wrapped text where changed words matter more than changed lines.

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

dwdiff matters because it is a classic small Unix text-processing tool that fills the gap between line-oriented diff and heavier document comparison. Its compatibility with wdiff plus delimiter controls made it packageable as a drop-in word-diff option across many Unix packaging systems.

### Chronologie

- 2006: Official copyright range begins and 1.0 release artifacts are present in the official distribution directory.
- 2018: Version 2.1.2 updates ICU handling and replaces icu-config with pkg-config.
- 2020: Versions 2.1.3 and 2.1.4 fix GCC 10 and C99 compiler build issues.

### Related projects

- The official page explicitly compares dwdiff with wdiff. In the broader CLI ecosystem it complements diff, git diff --word-diff, colordiff, and document-oriented compare tools.

### Sources

- <https://os.ghalkes.nl/dwdiff.html>
- <https://os.ghalkes.nl/dist/>


## Notes de sécurité

narrow executable package without higher-risk signals.

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

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dwdiff
- **Version Scheme:** 0
- **Revision:** 11
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - dwdiff - 2.1.4-2+b3: normalized package name match | Debian stable package indexes: dwdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | diff program that operates word by word | https://os.ghalkes.nl/dwdiff.html
- Nix - dwdiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/dw/dwdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dwdiff - 2.1.4-2build2: normalized package name match | Ubuntu 24.04 LTS package indexes: dwdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | diff program that operates word by word | https://os.ghalkes.nl/dwdiff.html
- MacPorts - dwdiff: normalized package name match | MacPorts ports tree: textproc/dwdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gettext](https://www.automicvault.com/fr/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [diffutils](https://www.automicvault.com/fr/pkg/brew/diffutils/) - Shares av.db curated category or tags: cli, developer-tools, diff, text-processing.
- [colordiff](https://www.automicvault.com/fr/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diff-so-fancy](https://www.automicvault.com/fr/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffnav](https://www.automicvault.com/fr/pkg/brew/diffnav/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffoci](https://www.automicvault.com/fr/pkg/brew/diffoci/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffoscope](https://www.automicvault.com/fr/pkg/brew/diffoscope/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffr](https://www.automicvault.com/fr/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffstat](https://www.automicvault.com/fr/pkg/brew/diffstat/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [wdiff](https://www.automicvault.com/fr/pkg/brew/wdiff/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, diff, gettext.
- [enchant](https://www.automicvault.com/fr/pkg/brew/enchant/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gettext, processing.

## Combined YAML source

View the package source record on GitHub. [combined/dwdiff.yml](https://github.com/automic-vault/db/blob/main/combined/dwdiff.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
