# Install diffoci with Homebrew, Nix, pacman

Diff for Docker and OCI container images. Version 0.1.8 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:diffoci
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diffoci
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#diffoci
```

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

- pacman (92%):

```sh
sudo pacman -S diffoci
```

  Evidence: Arch Linux sync databases: diffoci from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:diffoci
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/diffoci>
- **Version:** 0.1.8
- **Source summary:** Diff for Docker and OCI container images
- **Homepage:** <https://github.com/reproducible-containers/diffoci>
- **Repository:** <https://github.com/reproducible-containers/diffoci>
- **Upstream docs:** <https://github.com/reproducible-containers/diffoci#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/reproducible-containers/diffoci/archive/refs/tags/v0.1.8.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- diffoci (cli)
- diffoci (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.1.8
- Local data: ok
- Upstream repository: https://github.com/reproducible-containers/diffoci
- Upstream latest detected: v0.1.8 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

diffoci is a command-line comparison tool for Docker and OCI container images, aimed at finding the practical differences between two image artifacts in reproducible-builds work.

### Project history

The project lives under the reproducible-containers organization and frames itself as a diff tool for Docker and OCI images. Its README presents strict comparison as the baseline and semantic comparison as the more useful mode for image reproducibility checks.

### Adoption history

The official README documents binary releases for Linux and macOS, installation through mise, and source installation with Go, which places diffoci in the familiar package-manager and single-binary CLI lane for container tooling.

### How it is used

Typical use compares two image references with `diffoci diff IMAGE0 IMAGE1`; the README recommends `--semantic` when timestamp, layer ordering, build history, or image-name annotation noise would make strict output too noisy. It can also compare local Docker or Podman images with `docker://` and `podman://` prefixes and can dump differing files to a report directory.

### Why package nerds care

For package maintainers and reproducible-builds people, diffoci fills the gap between byte-level archive comparison and the layered, metadata-heavy world of OCI images. It is useful when the artifact being packaged is not a tarball or binary but a container image with registry, platform, and layer semantics.

### Timeline

- 2023: README examples focus on comparing Alpine and Docker Hub images in reproducibility investigations.
- 2020s: Project distributed as a Go CLI with Linux and macOS binary releases.

### Related projects

- diffoci is adjacent to diffoscope for deep artifact comparison, but specializes in Docker and OCI image layout, containerd, Docker, Podman, and registry workflows.

### Sources

- <https://github.com/reproducible-containers/diffoci#readme>
- <https://github.com/reproducible-containers/diffoci/blob/master/go.mod>


## Security Notes

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** diffoci
- **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

## Other Package-Manager Records

- Nix - diffoci: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diffoci/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - diffoci - 0.1.8-1: normalized package name match | Arch Linux sync databases: diffoci from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | diff for Docker and OCI container images | https://github.com/reproducible-containers/diffoci


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [diffoscope](https://www.automicvault.com/pkg/brew/diffoscope/) - Shares av.db curated category or tags: cli, developer-tools, diff, reproducible-builds.
- [oxker](https://www.automicvault.com/pkg/brew/oxker/) - Shares av.db curated category or tags: cli, container-tools, containers, developer-tools, docker.
- [colordiff](https://www.automicvault.com/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diff-so-fancy](https://www.automicvault.com/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffnav](https://www.automicvault.com/pkg/brew/diffnav/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffr](https://www.automicvault.com/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffstat](https://www.automicvault.com/pkg/brew/diffstat/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [difftastic](https://www.automicvault.com/pkg/brew/difftastic/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [manifest-tool](https://www.automicvault.com/pkg/brew/manifest-tool/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.
- [cek](https://www.automicvault.com/pkg/brew/cek/) - Local package facts share a topical domain. Shared terms: cli, container, containers, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/diffoci.yml](https://github.com/automic-vault/db/blob/main/combined/diffoci.yml)


## Sources

- 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
