# odiff を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:odiff
```

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

### macOS

- Homebrew (100%):

```sh
brew install odiff
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#odiff
```

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

## パッケージ情報

- **パッケージキー:** brew:odiff
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/odiff>
- **バージョン:** 4.5.0
- **ソース概要:** Very fast SIMD-first image comparison library (with nodejs API)
- **ホームページ:** <https://github.com/dmtrKovalenko/odiff>
- **リポジトリ:** <https://github.com/dmtrKovalenko/odiff>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/dmtrKovalenko/odiff/archive/refs/tags/v4.5.0.tar.gz>
- **最終更新:** 2026-07-23T03:37:26Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## ビルド依存関係

- zig

## インストール挙動

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

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.5.0
- マネージャ更新日: 2026-07-23
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/dmtrKovalenko/odiff
- 検出された最新: v4.5.0 (最新)
## プロジェクトの歴史と使われ方

odiff is a native image-comparison CLI and Node.js-facing tool aimed at visual regression testing and screenshot diffing. Its package story is about speed and portability: the README describes a move from OCaml to Zig with SIMD paths for SSE2, AVX2, AVX512, and NEON.

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

The public GitHub repository was created on 2020-11-04. The README describes odiff as originally written in OCaml and later implemented in Zig, keeping the same focus on fast pixel-by-pixel visual difference checks for screenshots, photos, AI-generated images, and other highly similar image pairs.

### 採用の歴史

The README lists integration points beyond the bare CLI, including Node.js bindings, a persistent server mode to avoid process startup overhead, Playwright support through playwright-odiff, Cypress support through cypress-odiff, and visual regression services such as Argos, LostPixel, and Visual Regression Tracker.

Homebrew and Nix packaging make the odiff binary available outside npm-centered workflows, while the Node.js API keeps it usable inside JavaScript test suites.

### 使われ方

Users compare two image paths and optionally write a PNG diff image. In test automation, Node.js callers use compare() or ODiffServer to run repeated comparisons with options for thresholds, anti-aliasing, ignored regions, layout mismatch handling, diff overlays, and memory reduction.

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

odiff is interesting because visual testing often hides native image diff engines behind JavaScript test frameworks. Packaging the native binary directly lets Playwright, Cypress, and standalone CI users share one fast comparator instead of each framework carrying a separate pure-JS pixel diff path.

### タイムライン

- 2020-11-04: public GitHub repository created.
- 2026-07-01: GitHub API metadata listed Zig as the primary language and MIT licensing.

### Related projects

- The README names framework adapters and services including playwright-odiff, cypress-odiff, Argos, LostPixel, Visual Regression Tracker, and OSnap.

### ソース

- <https://api.github.com/repos/dmtrKovalenko/odiff>
- <https://formulae.brew.sh/formula/odiff>
- <https://github.com/dmtrKovalenko/odiff>
- <https://github.com/dmtrKovalenko/odiff/releases>
- <https://raw.githubusercontent.com/dmtrKovalenko/odiff/main/README.md>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

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

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

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

- Nix - odiff: normalized package name match | nixpkgs package indexes: pkgs/by-name/od/odiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [zig](https://pkg.so/ja/brew/zig/) - Build dependency declared by Homebrew.
- [lcov](https://pkg.so/ja/brew/lcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [bats-core](https://pkg.so/ja/brew/bats-core/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [allure](https://pkg.so/ja/brew/allure/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [kcov](https://pkg.so/ja/brew/kcov/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockolo](https://pkg.so/ja/brew/mockolo/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [mockery](https://pkg.so/ja/brew/mockery/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [pytest](https://pkg.so/ja/brew/pytest/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [conftest](https://pkg.so/ja/brew/conftest/) - Shares pkgdb curated category or tags: cli, developer-tools, testing.
- [lost-pixel](https://pkg.so/ja/npm/lost-pixel/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, odiff, regression.
- [reg-suit](https://pkg.so/ja/npm/reg-suit/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, regression, testing.
- [cypress-image-diff-html-report](https://pkg.so/ja/npm/cypress-image-diff-html-report/) - Both packages work with overlapping file formats or content types. Shared terms: cli, comparison, developer, developer-tools, image.

## Combined YAML source

View the package source record on GitHub. [combined/odiff.yml](https://github.com/mxcl/pkgdb/blob/main/combined/odiff.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
