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

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

## インストール

```sh
sudo av install brew:icdiff
```

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

### macOS

- Homebrew (100%):

```sh
brew install icdiff
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install icdiff
```

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

### Linux

- apk (92%):

```sh
sudo apk add icdiff
```

  証拠: Alpine Linux edge package indexes: icdiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install icdiff
```

  証拠: Debian stable package indexes: icdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#icdiff
```

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

## パッケージ情報

- **パッケージキー:** brew:icdiff
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.0.10
- **ソース概要:** Improved colored diff
- **ホームページ:** <https://www.jefftk.com/icdiff>
- **リポジトリ:** <https://github.com/jeffkaufman/icdiff>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-icdiff (エイリアス)
- icdiff (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.0.10
## プロジェクトの歴史と使われ方

icdiff is a Python command-line diff viewer that presents side-by-side, color-highlighted differences in a terminal. Its goal is not to replace every diff workflow, but to make small intra-line changes easier to see.

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

Jeff Kaufman's project page frames icdiff as a focused improvement over plain terminal `diff`: color and side-by-side layout for cases where similar lines are hard to compare. The README says the file is derived from Python's `difflib.HtmlDiff`, released under the same Python license.

The changelog begins with 1.0.0 as the first release and then records a long line of practical terminal and VCS improvements: recursive directory diffs, Unicode and fullwidth-character handling, Git integration, Subversion support, configurable colors, labels, line numbers, Python 3 cleanup, and process-exit behavior.

### 採用の歴史

The README documents installation through pip, apt, Homebrew, AUR, and Nix, and gives integration recipes for Git, Subversion, and Mercurial. The Homebrew package also installs `git-icdiff`, making it a convenient drop-in visual diff helper for version-control users.

### 使われ方

The direct command form is `icdiff [options] left_file right_file`. It can also be used as `git difftool --extcmd icdiff`, as `git icdiff` through the helper script, as an SVN diff command, or as a Mercurial extdiff command.

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

icdiff is a compact example of package-manager value: a single-purpose terminal UX improvement that spreads through many ecosystems because developers repeatedly want readable diffs without adopting a full graphical merge tool.

### タイムライン

- 1.0.0: First release recorded in the changelog.
- 1.2.0: Recursive directory diff support added.
- 1.5.3: Subversion difftool support added.
- 1.9.2: Configurable colors, git configuration, and cleaner errors added.
- 2.0.0: Python 2 support dropped and long-line handling improved.
- 2.0.10: Terminal width detection regression reverted.

### Related projects

- Related tools and workflows include Python `difflib`, Unix `diff`, Git difftool, Subversion diff commands, Mercurial extdiff, and other terminal visual diff tools.

### ソース

- <https://formulae.brew.sh/formula/icdiff>
- <https://github.com/jeffkaufman/icdiff>
- <https://raw.githubusercontent.com/jeffkaufman/icdiff/master/ChangeLog>
- <https://www.jefftk.com/icdiff>


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- Debian apt - icdiff - 2.0.7-4.1: normalized package name match | Debian stable package indexes: icdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | terminal side-by-side colorized word diff | https://www.jefftk.com/icdiff
- Nix - icdiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/ic/icdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - icdiff - 2.0.7-1: normalized package name match | Ubuntu 24.04 LTS package indexes: icdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | terminal side-by-side colorized word diff | https://www.jefftk.com/icdiff
- apk - icdiff - 2.0.10-r1: normalized package name match | Alpine Linux edge package indexes: icdiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Improved colored diff | https://www.jefftk.com/icdiff
- apk - icdiff-pyc - 2.0.10-r1: normalized package name match | Alpine Linux edge package indexes: icdiff-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for icdiff | https://www.jefftk.com/icdiff
- MacPorts - icdiff: normalized package name match | MacPorts ports tree: textproc/icdiff/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/icdiff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/icdiff.yml)


## ソース

- 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
