AptLynx

Command-line tool

difftastic

brew/difftastic

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Diff that understands syntax diff tree-sitter

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id Wilfred.difftastic -e
scoop install difftastic
cargo install difftastic

macOS

brew install difftastic
cargo install difftastic

Linux

brew install difftastic
cargo install difftastic

Compare two files or directories

difft path/to/file_or_directory1 path/to/file_or_directory2

Only report the presence of differences between the files

difft --check-only path/to/file1 path/to/file2

Specify the display mode (default is `side-by-side`)

difft --display side-by-side path/to/file1 path/to/file2

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents