Command-line tool
diff-so-fancy
brew/diff-so-fancy
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Good-lookin' diffs with diff-highlight and more
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install diff-so-fancy
macOS
brew install diff-so-fancy
Colorize `diff`
diff -u path/to/file1 path/to/file2 | diff-so-fancy
Set `diff-so-fancy` to colorize the output during Git's interactive staging
git config --global interactive.diffFilter "diff-so-fancy --patch"
Related command-line tools
- rich-cli
Command-line toolbox for fancy output in the terminal - bpython
Fancy interface to the Python interpreter - git-split-diffs
Syntax highlighted side-by-side diffs in your terminal - riffdiff
A diff filter highlighting changed line parts - riff
Diff filter highlighting which line parts have changed - diffr
LCS based diff highlighting tool to ease code review from your terminal - typdiff
Diff tool that generates Typst documents highlighting differences between inputs - diff-pdf
Visually compare two PDF files pdf
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents