difftastic
« Back to VersTracker
Description:
Diff that understands syntax
Type: Formula  |  Latest Version: 0.67.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @Wilfred  |  formulae.brew.sh
Category: Developer tools
Tags: diff developer-tools code-review ast cli
Install: brew install difftastic
About:
Difftastic is a structural diff tool that parses source code into an Abstract Syntax Tree (AST) before comparing. This allows it to understand syntax, ignoring irrelevant whitespace changes and formatting differences. It provides highly accurate diffs that are much easier to read than traditional line-based tools.
Key Features:
  • Syntax-aware structural diffing
  • Supports over 40 programming languages
  • Ignores formatting and whitespace noise
  • Side-by-side and inline diff views
Use Cases:
  • Reviewing code changes without formatting noise
  • Comparing different versions of configuration files
  • Automated diffing in CI/CD pipelines
Alternatives:
  • diff – Standard line-based diff, unaware of code structure
  • git diff – Git's default diff, often cluttered with whitespace changes
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 15, 2025 7:14am 0 VERSION_BUMP d5db83ca
Dec 21, 2024 4:52am 0 VERSION_BUMP e015aaae
Dec 21, 2024 2:15am 0 VERSION_BUMP 5ca14ea1