macOS
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · source: api.github.com
brew
File comparison utilities. Version 3.12 via Homebrew; verified from local package data.
install
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · source: api.github.com
sudo apk add diffutilsAlpine Linux edge package indexes · diffutils · source: dl-cdn.alpinelinux.org
sudo apt install diffutilsDebian stable package indexes · diffutils · source: deb.debian.org
sudo dnf install diffutilsFedora Rawhide package metadata · diffutils · source: dl.fedoraproject.org
nix profile install nixpkgs#diffutilsnixpkgs package indexes · diffutils · source: raw.githubusercontent.com
sudo pacman -S diffutilsArch Linux sync databases · diffutils · source: geo.mirror.pkgbuild.com
sudo zypper install diffutilsopenSUSE Tumbleweed package metadata · diffutils · source: download.opensuse.org
choco install diffutilsChocolatey community package catalog · diffutils · source: community.chocolatey.org
scoop install main/diffutilsScoop official bucket manifest trees · bucket/diffutils.json · source: api.github.com
winget install --id uutils.diffutils -eWindows Package Manager source index · uutils.diffutils · source: cdn.winget.microsoft.com
overview
File comparison utilities
history
GNU Diffutils is the GNU package that provides the classic file-comparison programs `diff`, `cmp`, `diff3`, and `sdiff`.
The GNU Diffutils manual describes the package as a way to find differences between files, including side-by-side formats, context and unified diffs, and scripts suitable for the `patch` program. As part of GNU, it supplies standard userland comparison utilities across GNU and GNU-like systems.
Diffutils became package-manager infrastructure almost by being everywhere: the tools are standard build, patch-review, and source-maintenance utilities, and Homebrew, Linux distributions, and other package sets commonly ship the GNU implementations under the `diffutils` package name.
`diff` compares text files and can emit normal, context, or unified output; `cmp` checks byte-level differences; `diff3` compares three files for merge-style workflows; and `sdiff` supports side-by-side comparison and merging.
Diffutils is foundational package-nerd equipment. Source packages, downstream patches, generated tarballs, build logs, and regression tests all lean on diff-family tools, and many higher-level tools in this batch either consume diff output or improve on its presentation.
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 |
|---|---|---|---|
cmp | cli | global executable | |
diff | cli | global executable | |
diff3 | cli | global executable | |
sdiff | 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.
https://www.gnu.org/software/diffutils/
install metadata
| Package key | brew:diffutils |
|---|---|
| Version | 3.12 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/diffutils |
| Homepage | https://www.gnu.org/software/diffutils/ |
| Repository | https://git.savannah.gnu.org/git/diffutils.git |
| Upstream docs | https://www.gnu.org/software/diffutils/manual |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | diffutils |
| 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.
diffutils 1:3.10-4
File comparison utilities
https://www.gnu.org/software/diffutils/
sudo apt install diffutilsdiffutils-doc 1:3.10-4
Documentation for GNU diffutils in HTML format
https://www.gnu.org/software/diffutils/
sudo apt install diffutils-docdiffutils
nix profile install nixpkgs#diffutilsdiffutils 1:3.10-1build1
File comparison utilities
https://www.gnu.org/software/diffutils/
sudo apt install diffutilsdiffutils-doc 1:3.10-1build1
Documentation for GNU diffutils in HTML format
https://www.gnu.org/software/diffutils/
sudo apt install diffutils-docdiffutils 3.12-r0
Show differences among files
https://www.gnu.org/software/diffutils/
sudo apk add diffutilsdiffutils-doc 3.12-r0
Show differences among files (documentation)
https://www.gnu.org/software/diffutils/
sudo apk add diffutils-docdiffutils 3.12-5.fc44
GNU collection of diff utilities
https://www.gnu.org/software/diffutils/diffutils.html
sudo dnf install diffutilsdiffutils 3.12-2
Utility programs used for creating patch files
https://www.gnu.org/software/diffutils
sudo pacman -S diffutilsdiffutils 3.12-1.3
GNU diff Utilities
https://www.gnu.org/software/diffutils/
sudo zypper install diffutilsdiffutils-lang 3.12-1.3
Translations for package diffutils
https://www.gnu.org/software/diffutils/
sudo zypper install diffutils-langdiffutils
sudo port install diffutilsdiffutils
choco install diffutilsmain/diffutils
scoop install main/diffutilsuutils.diffutils
winget install --id uutils.diffutils -eDBAdminX.Diff
winget install --id DBAdminX.Diff -esource 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.