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

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install diffr
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diffr
```

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

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

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

## パッケージ情報

- **パッケージキー:** brew:diffr
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/diffr>
- **バージョン:** 0.1.5
- **ソース概要:** LCS based diff highlighting tool to ease code review from your terminal
- **ホームページ:** <https://github.com/mookid/diffr>
- **リポジトリ:** <https://github.com/mookid/diffr>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/mookid/diffr/archive/refs/tags/v0.1.5.tar.gz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- diffr (cli)
- diffr (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.1.5
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/mookid/diffr
- 検出された最新: v0.1.5 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

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

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.

### 採用の歴史

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.

### 使われ方

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.

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

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.

### タイムライン

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

### ソース

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


## セキュリティノート

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:** diffr
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [diff-so-fancy](https://pkg.so/ja/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git, terminal.
- [difi](https://pkg.so/ja/brew/difi/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools, diff, git.
- [difftastic](https://pkg.so/ja/brew/difftastic/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [colordiff](https://pkg.so/ja/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, terminal.
- [hunk](https://pkg.so/ja/brew/hunk/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools, diff, git.
- [diffnav](https://pkg.so/ja/brew/diffnav/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [riff](https://pkg.so/ja/brew/riff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, syntax-highlighting.
- [git-split-diffs](https://pkg.so/ja/brew/git-split-diffs/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git, syntax-highlighting.

## Combined YAML source

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


## ソース

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