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
- diffsitter
A tree-sitter based AST difftool to get meaningful semantic diffs - tree-sitter-loader
Locates, builds, and loads tree-sitter grammars at runtime - tree-sitter-config
User configuration of tree-sitter's command line programs - tree-sitter-generate
Library for generating C source code from a tree-sitter grammar - tree-sitter-cli
Parser generator tool tree-sitter - topiary
Uniform formatter for simple languages, as part of the Tree-sitter ecosystem tree-sitter - cymbal
Language-agnostic code navigation CLI powered by tree-sitter - ts_query_ls
LSP implementation for Tree-sitter's query files
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents