macOS
brew install colordifflocal Homebrew formula metadata
sudo port install colordiffMacPorts ports tree · textproc/colordiff/Portfile · source: api.github.com
brew
Color-highlighted diff(1) output. Version 1.0.22 via Homebrew; verified from local package data.
install
brew install colordifflocal Homebrew formula metadata
sudo port install colordiffMacPorts ports tree · textproc/colordiff/Portfile · source: api.github.com
sudo apk add colordiffAlpine Linux edge package indexes · colordiff · source: dl-cdn.alpinelinux.org
sudo apt install colordiffDebian stable package indexes · colordiff · source: deb.debian.org
sudo dnf install colordiffFedora Rawhide package metadata · colordiff · source: dl.fedoraproject.org
nix profile install nixpkgs#colordiffnixpkgs package indexes · pkgs/by-name/co/colordiff/package.nix · source: api.github.com
sudo pacman -S colordiffArch Linux sync databases · colordiff · source: geo.mirror.pkgbuild.com
sudo zypper install colordiffopenSUSE Tumbleweed package metadata · colordiff · source: download.opensuse.org
overview
Color-highlighted diff(1) output
history
colordiff is Dave Ewart's Perl wrapper for `diff`, adding ANSI color to traditional diff output while preserving the familiar diff command-line workflow.
The program dates to 2002 and has remained intentionally small: it wraps or filters diff-family output, recognizes several diff formats, and applies configurable color schemes. Its changelog shows a long maintenance history of portability fixes, support for more diff styles, and terminal behavior improvements rather than a shift in scope.
The upstream site tells Debian and Ubuntu users to install it from their distributions and notes that colordiff is packaged for other Linux, Unix, and BSD systems. The supplied package-manager metadata backs that up with entries across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE.
Package users commonly run `colordiff file1 file2`, pipe existing `diff -u` output through `colordiff`, or alias `diff=colordiff`. The companion `cdiff` helper exists for compressed or URL-based diffs.
colordiff is the archetypal tiny terminal-enhancement package: stable, scriptable, dependency-light, and useful before Git's color defaults became universal. Its value to package managers is broad portability and a predictable configuration surface rather than novelty.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cdiff | cli | global executable | |
colordiff | cli | global executable |
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.
install metadata
| Package key | brew:colordiff |
|---|---|
| Version | 1.0.22 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/colordiff |
| Homepage | https://www.colordiff.org/ |
| Repository | https://github.com/daveewart/colordiff |
| Upstream docs | https://github.com/daveewart/colordiff#readme |
| License | GPL-2.0-or-later |
| Source archive | https://www.colordiff.org/colordiff-1.0.22.tar.gz |
| Build dependencies | coreutils |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | colordiff |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
colordiff 1.0.21-1
tool to colorize 'diff' output
sudo apt install colordiffcolordiff
nix profile install nixpkgs#colordiffcolordiff 1.0.20-1
tool to colorize 'diff' output
sudo apt install colordiffcolordiff 1.0.22-r0
Color terminal highlighter for diff files
sudo apk add colordiffcolordiff-doc 1.0.22-r0
Color terminal highlighter for diff files (documentation)
sudo apk add colordiff-doccolordiff 1.0.22-1.fc44
Color terminal highlighter for diff files
sudo dnf install colordiffcolordiff 1.0.22-1
A Perl script wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting
sudo pacman -S colordiffcolordiff 1.0.21-1.7
Colour-highlighted 'diff' output
sudo zypper install colordiffcolordiff
sudo port install colordiffpython3-cdiff 1.0-1.1
Colored, incremental diff with side by side and auto pager support (Python 3)
sudo apt install python3-cdiffsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.