# Installer difftastic avec Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de difftastic pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:difftastic
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install difftastic
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install difftastic
```

  Preuve: MacPorts ports tree: devel/difftastic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add difftastic
```

  Preuve: Alpine Linux edge package indexes: difftastic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install difftastic
```

  Preuve: Fedora Rawhide package metadata: difftastic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#difftastic
```

  Preuve: nixpkgs package indexes: pkgs/by-name/di/difftastic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S difftastic
```

  Preuve: Arch Linux sync databases: difftastic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install difftastic
```

  Preuve: openSUSE Tumbleweed package metadata: difftastic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/difftastic
```

  Preuve: Scoop official bucket manifest trees: bucket/difftastic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Wilfred.difftastic -e
```

  Preuve: Windows Package Manager source index: Wilfred.difftastic from https://cdn.winget.microsoft.com/cache/source.msix

## Faits du paquet

- **Clé du paquet:** brew:difftastic
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/difftastic>
- **Version:** 0.69.0
- **Résumé source:** Diff that understands syntax
- **Page d'accueil:** <https://difftastic.wilfred.me.uk/>
- **Dépôt:** <https://github.com/Wilfred/difftastic>
- **Docs amont:** <https://difftastic.wilfred.me.uk/>
- **Licence:** MIT
- **Archive source:** <https://github.com/Wilfred/difftastic/archive/refs/tags/0.69.0.tar.gz>
- **Dernière mise à jour:** 2026-06-15T10:20:15-04:00
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- difft (cli)
- difft (alias)

## Dépendances de compilation

- rust

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 0.69.0
- gestionnaire mis à jour: 2026-06-15
- données locales: OK
- dépôt amont: https://github.com/Wilfred/difftastic
- dernière version détectée: 0.69.0 (à jour)
## Historique du projet et usages

Difftastic is a structural diff tool that compares files using syntax rather than only lines, producing human-oriented output for code review and version-control workflows.

### Historique du projet

The project README defines Difftastic as a syntax-aware diff tool and explicitly contrasts it with line-oriented diffing. Its changelog shows rapid development from the 0.1 series in 2021 through regular parser, display, Git-integration, and performance improvements.

### Historique d'adoption

The official installation documentation covers multiple package-manager routes, and the README highlights compatibility with Git and other version-control systems. The manual provides specific Git aliases, `diff.external`, and `difftool` configuration, which made the tool easy to adopt incrementally.

### Modes d'utilisation

Difftastic is commonly invoked as `difft` directly or wired into Git so `git diff`, `git show`, or `git log -p` can display syntax-aware differences. When files are unrecognized or parsing fails, the README documents fallback behavior to line-oriented diffing.

### Pourquoi les passionnés de paquets s'y intéressent

Difftastic is interesting to package nerds because it packages tree-sitter-backed structural comparison as a normal CLI. It lets maintainers review source changes in languages where reformatting, delimiters, and nested syntax can obscure the real change in a traditional unified diff.

### Chronologie

- 2021: 0.1 series began, followed by frequent early releases.
- 2022: Changelog shows continued language, parser, and display expansion through the 0.30 series.
- 2025: 0.63 taught directory diffs to ignore `.git` directories.
- 2026: 0.69 released with punctuation-aware syntactic comparison improvements.

### Related projects

- Difftastic is related to traditional `diff`, Git external diff drivers, Git difftool integration, and tree-sitter parsers; its README also points users interested in AST merging to mergiraf.

### Sources

- <https://github.com/Wilfred/difftastic#readme>
- <https://difftastic.wilfred.me.uk/git.html>
- <https://github.com/Wilfred/difftastic/blob/master/CHANGELOG.md>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** difftastic
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Nix - difftastic: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/difftastic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - difftastic - 0.69.0-r0: normalized package name match | Alpine Linux edge package indexes: difftastic from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Diff tool that understands syntax | https://difftastic.wilfred.me.uk/
- apk - difftastic-doc - 0.69.0-r0: normalized package name match | Alpine Linux edge package indexes: difftastic-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Diff tool that understands syntax (documentation) | https://difftastic.wilfred.me.uk/
- dnf - difftastic - 0.69.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: difftastic from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Structural diff that understands syntax | https://crates.io/crates/difftastic
- pacman - difftastic - 0.69.0-1: normalized package name match | Arch Linux sync databases: difftastic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | An experimental diff tool that compares files based on their syntax | https://difftastic.wilfred.me.uk
- zypper - difftastic - 0.69.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: difftastic from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A structural diff that understands syntax | https://difftastic.wilfred.me.uk/
- zypper - difftastic-doc - 0.69.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: difftastic-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for difftastic | https://difftastic.wilfred.me.uk/
- MacPorts - difftastic: normalized package name match | MacPorts ports tree: devel/difftastic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/difftastic: normalized package name match | Scoop official bucket manifest trees: bucket/difftastic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Wilfred.difftastic: normalized package name match | Windows Package Manager source index: Wilfred.difftastic from https://cdn.winget.microsoft.com/cache/source.msix


## Liens liés

- [Source-control packages](https://pkg.so/fr/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/fr/brew/rust/) - Build dependency declared by Homebrew.
- [happy-coder](https://pkg.so/fr/brew/happy-coder/) - Popular package that depends on this formula.
- [diff-so-fancy](https://pkg.so/fr/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [diffnav](https://pkg.so/fr/brew/diffnav/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [difi](https://pkg.so/fr/brew/difi/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [diffr](https://pkg.so/fr/brew/diffr/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, git.
- [diffutils](https://pkg.so/fr/brew/diffutils/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [colordiff](https://pkg.so/fr/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffoscope](https://pkg.so/fr/brew/diffoscope/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [dyff](https://pkg.so/fr/brew/dyff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.

## Combined YAML source

View the package source record on GitHub. [combined/difftastic.yml](https://github.com/mxcl/pkgdb/blob/main/combined/difftastic.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
