macOS
brew install mergiraflocal Homebrew formula metadata
sudo port install mergirafMacPorts ports tree · devel/mergiraf/Portfile · source: api.github.com
brew
Syntax-aware git merge driver. Version 0.17.0 via Homebrew; verified 2026-05-07.
install
brew install mergiraflocal Homebrew formula metadata
sudo port install mergirafMacPorts ports tree · devel/mergiraf/Portfile · source: api.github.com
sudo apk add mergirafAlpine Linux edge package indexes · mergiraf · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#mergirafnixpkgs package indexes · pkgs/by-name/me/mergiraf/package.nix · source: api.github.com
sudo pacman -S mergirafArch Linux sync databases · mergiraf · source: geo.mirror.pkgbuild.com
sudo zypper install mergirafopenSUSE Tumbleweed package metadata · mergiraf · source: download.opensuse.org
scoop install main/mergirafScoop official bucket manifest trees · bucket/mergiraf.json · source: api.github.com
winget install --id Mergiraf.Mergiraf -eWindows Package Manager source index · Mergiraf.Mergiraf · source: cdn.winget.microsoft.com
overview
Syntax-aware git merge driver
history
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.
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`.
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.
security posture
No matching local secret-handling manifest was found for mergiraf. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
~/.config/git/configexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mergiraf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:mergiraf |
|---|---|
| Version | 0.17.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mergiraf |
| Homepage | https://mergiraf.org |
| Repository | https://codeberg.org/mergiraf/mergiraf |
| Upstream docs | https://mergiraf.org/ |
| License | GPL-3.0-only |
| Source archive | https://codeberg.org/mergiraf/mergiraf/archive/v0.17.0.tar.gz |
| Last updated | 2026-05-07T20:04:47Z |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mergiraf
nix profile install nixpkgs#mergirafmergiraf 0.17.0-r0
syntax-aware git merge driver for a growing collection of programming languages and file formats
sudo apk add mergirafmergiraf-doc 0.17.0-r0
syntax-aware git merge driver for a growing collection of programming languages and file formats (documentation)
sudo apk add mergiraf-docmergiraf 0.17.0-1
A syntax-aware git merge driver for a growing collection of programming languages and file formats
sudo pacman -S mergirafmergiraf 0.17.0-1.1
A syntax-aware git merge driver
sudo zypper install mergirafmergiraf
sudo port install mergirafmain/mergiraf
scoop install main/mergirafMergiraf.Mergiraf
winget install --id Mergiraf.Mergiraf -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.