macOS
brew install difftasticlocal Homebrew formula metadata
sudo port install difftasticMacPorts ports tree · devel/difftastic/Portfile · source: api.github.com
brew
Diff that understands syntax. Version 0.69.0 via Homebrew; verified 2026-06-15.
install
brew install difftasticlocal Homebrew formula metadata
sudo port install difftasticMacPorts ports tree · devel/difftastic/Portfile · source: api.github.com
sudo apk add difftasticAlpine Linux edge package indexes · difftastic · source: dl-cdn.alpinelinux.org
sudo dnf install difftasticFedora Rawhide package metadata · difftastic · source: dl.fedoraproject.org
nix profile install nixpkgs#difftasticnixpkgs package indexes · pkgs/by-name/di/difftastic/package.nix · source: api.github.com
sudo pacman -S difftasticArch Linux sync databases · difftastic · source: geo.mirror.pkgbuild.com
sudo zypper install difftasticopenSUSE Tumbleweed package metadata · difftastic · source: download.opensuse.org
scoop install main/difftasticScoop official bucket manifest trees · bucket/difftastic.json · source: api.github.com
winget install --id Wilfred.difftastic -eWindows Package Manager source index · Wilfred.difftastic · source: cdn.winget.microsoft.com
overview
Diff that understands syntax
history
Difftastic is a structural diff tool that compares files using syntax rather than only lines, producing human-oriented output for code review and version-control workflows.
The project README defines Difftastic as a syntax-aware diff tool and explicitly contrasts it with line-oriented diffing. Its changelog shows rapid development from the 0.1 series in 2021 through regular parser, display, Git-integration, and performance improvements.
The official installation documentation covers multiple package-manager routes, and the README highlights compatibility with Git and other version-control systems. The manual provides specific Git aliases, `diff.external`, and `difftool` configuration, which made the tool easy to adopt incrementally.
Difftastic is commonly invoked as `difft` directly or wired into Git so `git diff`, `git show`, or `git log -p` can display syntax-aware differences. When files are unrecognized or parsing fails, the README documents fallback behavior to line-oriented diffing.
Difftastic is interesting to package nerds because it packages tree-sitter-backed structural comparison as a normal CLI. It lets maintainers review source changes in languages where reformatting, delimiters, and nested syntax can obscure the real change in a traditional unified diff.
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 |
|---|---|---|---|
difft | 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://github.com/Wilfred/difftastic
install metadata
| Package key | brew:difftastic |
|---|---|
| Version | 0.69.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/difftastic |
| Homepage | https://difftastic.wilfred.me.uk/ |
| Repository | https://github.com/Wilfred/difftastic |
| Upstream docs | https://difftastic.wilfred.me.uk/ |
| License | MIT |
| Source archive | https://github.com/Wilfred/difftastic/archive/refs/tags/0.69.0.tar.gz |
| Last updated | 2026-06-15T10:20:15-04:00 |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | difftastic |
| 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.
difftastic
nix profile install nixpkgs#difftasticdifftastic 0.68.0-r0
Diff tool that understands syntax
https://difftastic.wilfred.me.uk/
sudo apk add difftasticdifftastic-doc 0.68.0-r0
Diff tool that understands syntax (documentation)
https://difftastic.wilfred.me.uk/
sudo apk add difftastic-docdifftastic 0.67.0-3.fc45
Structural diff that understands syntax
https://crates.io/crates/difftastic
sudo dnf install difftasticdifftastic 0.69.0-1
An experimental diff tool that compares files based on their syntax
https://difftastic.wilfred.me.uk
sudo pacman -S difftasticdifftastic 0.69.0-1.1
A structural diff that understands syntax
https://difftastic.wilfred.me.uk/
sudo zypper install difftasticdifftastic-doc 0.69.0-1.1
Documentation for difftastic
https://difftastic.wilfred.me.uk/
sudo zypper install difftastic-docdifftastic
sudo port install difftasticmain/difftastic
scoop install main/difftasticWilfred.difftastic
winget install --id Wilfred.difftastic -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.