# Install imgdiff with Homebrew, apk

Pixel-by-pixel image difference tool. Version 1.0.2 via Homebrew; verified 2026-07-26. Also installable with apk: sudo apk add imgdiff.

## Install

```sh
sudo av install brew:imgdiff
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install imgdiff
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add imgdiff
```

  Evidence: Alpine Linux edge package indexes: imgdiff from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

## Package facts

- **Package key:** brew:imgdiff
- **Package manager:** Homebrew
- **Version:** 1.0.2
- **Source summary:** Pixel-by-pixel image difference tool
- **Homepage:** <https://github.com/n7olkachev/imgdiff>
- **Repository:** <https://github.com/n7olkachev/imgdiff>
- **Last updated:** 2026-07-26T04:07:47+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- imgdiff (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.0.2
## Project history and usage

imgdiff is a small Go command-line utility for pixel-by-pixel image comparison. Its public README frames the project as a faster response to odiff, another visual-diff tool used in image-regression and screenshot-testing workflows.

### Project history

The GitHub repository was created on 2020-12-12, and the v1.0.0 release was published the same day as an initial release with pre-built binaries. Follow-up releases in February and March 2021 fixed package-path and output-writing issues, after which the package remained a compact single-purpose visual comparison tool.

### Adoption history

Adoption appears niche but visible: the repository has roughly 1.7k GitHub stars in repository metadata, and Homebrew publishes a formula for macOS users. Homebrew analytics for the formula show low install counts, which fits a developer-tooling utility used mainly inside visual test and image-comparison workflows.

### How it is used

The README documents a CLI that accepts base, compare, and output image paths, with options for color-difference threshold, diff-image rendering, and layout-failure behavior. The intended use is direct image comparison rather than general image editing.

### Why package nerds care

imgdiff is package-nerd interesting because it is a tiny Go binary competing on startup simplicity and benchmark performance against heavier image-processing stacks. It represents the class of single-binary tools that package managers can expose for CI and screenshot-regression jobs without pulling in a larger application.

### Timeline

- 2020-12-12: GitHub repository created and v1.0.0 initial release published.
- 2021-02-17: v1.0.1 fixed the package path.
- 2021-03-25: v1.0.2 fixed output writing.
- 2026: Homebrew formula metadata lists imgdiff as a pixel-by-pixel image difference tool.

### Related projects

- The README explicitly compares imgdiff with odiff. It also fits the broader visual-regression ecosystem around screenshot testing and pixel-diff utilities.

### Sources

- <https://formulae.brew.sh/formula/imgdiff>
- <https://github.com/n7olkachev/imgdiff>
- <https://github.com/n7olkachev/imgdiff/releases>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- apk - imgdiff - 1.0.2-r37: normalized package name match | Alpine Linux edge package indexes: imgdiff from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast pixel-by-pixel image difference tool | https://github.com/n7olkachev/imgdiff
- apk - imgdiff-doc - 1.0.2-r37: normalized package name match | Alpine Linux edge package indexes: imgdiff-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast pixel-by-pixel image difference tool (documentation) | https://github.com/n7olkachev/imgdiff


## Combined YAML source

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


## Sources

- 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
