# dwdiff mit Homebrew, apt, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für dwdiff in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install dwdiff
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dwdiff
```

  Evidenz: 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
```

  Evidenz: 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
```

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

## Paketfakten

- **Paketschlüssel:** brew:dwdiff
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/dwdiff>
- **Version:** 2.1.4
- **Quellzusammenfassung:** Diff that operates at the word level
- **Homepage:** <https://os.ghalkes.nl/dwdiff.html>
- **Upstream-Dokumentation:** <https://os.ghalkes.nl/dwdiff.html>
- **Lizenz:** GPL-3.0-only
- **Quellarchiv:** <https://os.ghalkes.nl/dist/dwdiff-2.1.4.tar.bz2>
- **Zuletzt aktualisiert:** 2026-06-22T14:03:13-07:00
- **Generiert:** 2026-07-08T18:08:21+00:00

## Executables

- dwdiff (cli)
- dwfilter (cli)
- dwdiff (Alias)
- dwfilter (Alias)

## Abhängigkeiten

- gettext
- icu4c@78

## Build-Abhängigkeiten

- gettext
- pkgconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 2.1.4
- Manager aktualisiert: 2026-06-22
- lokale Daten: OK
- Upstream-Repository: https://os.ghalkes.nl/dwdiff.html
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- 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


## Verwandte Links

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


## Quellen

- 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
