# mergiraf を Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

mergiraf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mergiraf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mergiraf
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:mergiraf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mergiraf>
- **バージョン:** 0.18.0
- **ソース概要:** Syntax-aware git merge driver
- **ホームページ:** <https://mergiraf.org>
- **上流ドキュメント:** <https://mergiraf.org>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://codeberg.org/mergiraf/mergiraf/archive/v0.18.0.tar.gz>
- **最終更新:** 2026-07-14T18:47:06Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mergiraf (cli)
- mergiraf (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 0.18.0
- マネージャ更新日: 2026-07-14
- ローカルデータ: OK
- 上流リポジトリ: https://mergiraf.org
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### ソース

- <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>


## セキュリティノート

mergiraf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。



## 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
## ソースデータベース詳細

- **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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [koji](https://pkg.so/ja/brew/koji/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rust, version-control.
- [committed](https://pkg.so/ja/brew/committed/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rust, version-control.
- [libgit2](https://pkg.so/ja/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lazygit](https://pkg.so/ja/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [lefthook](https://pkg.so/ja/brew/lefthook/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [commitizen](https://pkg.so/ja/brew/commitizen/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [diff-so-fancy](https://pkg.so/ja/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [repo](https://pkg.so/ja/brew/repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git, version-control.
- [conventional-github-releaser](https://pkg.so/ja/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)


## ソース

- 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
