Automic VaultAutomic Vault

brew

Install icdiff with Homebrew, apk, apt, MacPorts, Nix

Improved colored diff. Version 2.0.10 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install icdiff

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install icdiff

MacPorts ports tree · textproc/icdiff/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add icdiff

Alpine Linux edge package indexes · icdiff · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install icdiff

Debian stable package indexes · icdiff · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#icdiff

nixpkgs package indexes · pkgs/by-name/ic/icdiff/package.nix · source: api.github.com

overview

Package summary

Improved colored diff

Commands and aliases

  • git-icdiff
  • icdiff

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
git-icdiffcliglobal executable
icdiffcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version2.0.10
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/jeffkaufman/icdiff

install metadata

Package metadata

Package keybrew:icdiff
Version2.0.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/icdiff
Homepagehttps://www.jefftk.com/icdiff
Repositoryhttps://github.com/jeffkaufman/icdiff
Upstream docshttps://www.jefftk.com/icdiff
LicensePSF-2.0
Source archivehttps://github.com/jeffkaufman/icdiff/archive/refs/tags/release-2.0.10.tar.gz
Uses from macOSpython
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameicdiff
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

icdiff 2.0.7-4.1

terminal side-by-side colorized word diff

https://www.jefftk.com/icdiff

sudo apt install icdiff
  • Section: utils
  • Architecture: all
  • 1 dependencies
  • normalized package name match
  • Matched by: Icdiff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: icdiff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

icdiff

nix profile install nixpkgs#icdiff
  • normalized package name match
  • Matched by: Icdiff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ic/icdiff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

icdiff 2.0.7-1

terminal side-by-side colorized word diff

https://www.jefftk.com/icdiff

sudo apt install icdiff
  • Section: universe/utils
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Icdiff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: icdiff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

icdiff 2.0.10-r1

Improved colored diff

https://www.jefftk.com/icdiff

sudo apk add icdiff
  • License: Python-2.0
  • Architecture: x86_64
  • Source Package: icdiff
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Icdiff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: icdiff from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

icdiff-pyc 2.0.10-r1

Precompiled Python bytecode for icdiff

https://www.jefftk.com/icdiff

sudo apk add icdiff-pyc
  • License: Python-2.0
  • Architecture: x86_64
  • Source Package: icdiff
  • 1 dependencies
  • normalized package name match
  • Matched by: Icdiff
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: icdiff-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
MacPorts95%

icdiff

sudo port install icdiff
  • normalized package name match
  • Matched by: Icdiff
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/icdiff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment