# dwdiff を Homebrew, apt, MacPorts, Nix でインストール

dwdiff のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dwdiff
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dwdiff
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:dwdiff
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dwdiff>
- **バージョン:** 2.1.4
- **ソース概要:** Diff that operates at the word level
- **ホームページ:** <https://os.ghalkes.nl/dwdiff.html>
- **上流ドキュメント:** <https://os.ghalkes.nl/dwdiff.html>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://os.ghalkes.nl/dist/dwdiff-2.1.4.tar.bz2>
- **最終更新:** 2026-06-22T14:03:13-07:00
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- dwdiff (cli)
- dwfilter (cli)
- dwdiff (エイリアス)
- dwfilter (エイリアス)

## 依存関係

- gettext
- icu4c@78

## ビルド依存関係

- gettext
- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.1.4
- マネージャ更新日: 2026-06-22
- ローカルデータ: OK
- 上流リポジトリ: https://os.ghalkes.nl/dwdiff.html
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
