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
Sep 12, 2024 1:06am 0 VERSION_BUMP d459dfc7
Aug 1, 2024 6:06pm 0 VERSION_BUMP e0d733d5
Jan 7, 2024 9:30am 0 VERSION_BUMP 1c2b7f74
Nov 26, 2023 4:17am 0 VERSION_BUMP 5d49243f
Nov 26, 2023 3:30am 0 VERSION_BUMP 63cfcff1
May 17, 2023 5:18am 0 VERSION_BUMP b7ac414c
May 16, 2023 9:19pm 0 VERSION_BUMP 4ffbea1a