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

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

## installation

```sh
sudo av install brew:mergiraf
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install mergiraf
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mergiraf
```

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

### Linux

- apk (92%):

```sh
sudo apk add mergiraf
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mergiraf
```

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

- pacman (92%):

```sh
sudo pacman -S mergiraf
```

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

- zypper (92%):

```sh
sudo zypper install mergiraf
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/mergiraf
```

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

- winget (92%):

```sh
winget install --id Mergiraf.Mergiraf -e
```

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

## Faits du paquet

- **Clé du paquet:** brew:mergiraf
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/mergiraf>
- **Version:** 0.18.0
- **Résumé source:** Syntax-aware git merge driver
- **Page d'accueil:** <https://mergiraf.org>
- **Docs amont:** <https://mergiraf.org>
- **Licence:** GPL-3.0-only
- **Archive source:** <https://codeberg.org/mergiraf/mergiraf/archive/v0.18.0.tar.gz>
- **Dernière mise à jour:** 2026-07-14T18:47:06Z
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- mergiraf (cli)
- mergiraf (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.18.0
- gestionnaire mis à jour: 2026-07-14
- données locales: OK
- dépôt amont: https://mergiraf.org
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

Mergiraf is a syntax-aware merge driver for Git created by Antonin Delpeuch after exploring the limitations of line-based merge conflict resolution and earlier structured-merge prototypes. The project positions itself as a practical merge driver for daily version-control workflows: Git still performs ordinary line-based merges where they succeed, while Mergiraf uses syntax trees and language-specific knowledge when a line-based conflict can be resolved structurally.

### Historique du projet

The tool integrates through Git's custom merge-driver mechanism and can also be run after a conflict with `mergiraf solve`. Its documentation emphasizes conservative behavior: unresolved or suspicious cases keep conflict markers, while automatically solved cases can be reviewed with `mergiraf review` and reported with `mergiraf report`. It also supports Jujutsu workflows through `jj resolve --tool mergiraf`.

### Modes d'utilisation

Mergiraf's ecosystem role is adjacent to tools like Difftastic: it applies tree awareness to version-control conflicts rather than only to human-readable diffs. Its supported-language list spans common programming languages such as C/C++, Go, Java, JavaScript, Python, Rust, TypeScript, and structured formats such as JSON, TOML, YAML, XML, `go.mod`, and requirements files. Package managers distribute it as a developer-tool CLI that teams can opt into globally or per repository through Git attributes.

### Sources

- <https://antonin.delpeuch.eu/posts/mergiraf-a-syntax-aware-merge-driver-for-git/>
- <https://formulae.brew.sh/formula/mergiraf>
- <https://mergiraf.org/>
- <https://mergiraf.org/installation.html>
- <https://mergiraf.org/languages.html>
- <https://mergiraf.org/usage.html>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour mergiraf. Les métadonnées de paquet restent publiées ici afin que la couverture future dispose d'une URL stable.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.config/git/config
## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- Nix - mergiraf: normalized package name match | nixpkgs package indexes: pkgs/by-name/me/mergiraf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mergiraf - 0.17.0-r0: normalized package name match | Alpine Linux edge package indexes: mergiraf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | syntax-aware git merge driver for a growing collection of programming languages and file formats | https://mergiraf.org/
- apk - mergiraf-doc - 0.17.0-r0: normalized package name match | Alpine Linux edge package indexes: mergiraf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | syntax-aware git merge driver for a growing collection of programming languages and file formats (documentation) | https://mergiraf.org/
- pacman - mergiraf - 0.18.0-1: normalized package name match | Arch Linux sync databases: mergiraf from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A syntax-aware git merge driver for a growing collection of programming languages and file formats | https://mergiraf.org/
- zypper - mergiraf - 0.18.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: mergiraf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A syntax-aware git merge driver | https://mergiraf.org/
- MacPorts - mergiraf: normalized package name match | MacPorts ports tree: devel/mergiraf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/mergiraf: normalized package name match | Scoop official bucket manifest trees: bucket/mergiraf.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Mergiraf.Mergiraf: normalized package name match | Windows Package Manager source index: Mergiraf.Mergiraf 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.
- [koji](https://pkg.so/fr/brew/koji/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rust, version-control.
- [committed](https://pkg.so/fr/brew/committed/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rust, version-control.
- [libgit2](https://pkg.so/fr/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://pkg.so/fr/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lefthook](https://pkg.so/fr/brew/lefthook/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [commitizen](https://pkg.so/fr/brew/commitizen/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [diff-so-fancy](https://pkg.so/fr/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [repo](https://pkg.so/fr/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [conventional-github-releaser](https://pkg.so/fr/npm/conventional-github-releaser/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## Sources

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