# git-cinnabar を Homebrew, apt, MacPorts, Nix, pacman, dnf でインストール

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

## インストール

```sh
sudo av install brew:git-cinnabar
```

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

### macOS

- Homebrew (100%):

```sh
brew install git-cinnabar
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-cinnabar
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install git-cinnabar
```

  証拠: Debian stable package indexes: git-cinnabar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#git-cinnabar
```

  証拠: nixpkgs package indexes: pkgs/by-name/gi/git-cinnabar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S git-cinnabar
```

  証拠: Arch Linux sync databases: git-cinnabar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- dnf (92%):

```sh
sudo dnf install git-remote-hg
```

  証拠: Fedora Rawhide package metadata: git-remote-hg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:git-cinnabar
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.7.4
- **ソース概要:** Git remote helper to interact with mercurial repositories
- **ホームページ:** <https://github.com/glandium/git-cinnabar>
- **リポジトリ:** <https://github.com/glandium/git-cinnabar>
- **最終更新:** 2026-06-25T04:21:18Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- git-cinnabar (エイリアス)
- git-remote-hg (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.7.4
## プロジェクトの歴史と使われ方

git-cinnabar is a Git remote helper for interacting with Mercurial repositories. It was created for the awkward but important boundary where developers wanted Git tooling while large projects, especially Mozilla's Gecko repositories, still used Mercurial hosting.

### プロジェクトの歴史

The project is maintained by Mike Hommey under the glandium GitHub account. Its README explains the name as a reference to cinnabar, a mercury-bearing mineral, and describes the tool as a Mercurial bridge that does not keep a local Mercurial clone under the hood.

### 採用の歴史

git-cinnabar's ecosystem significance comes from Mozilla workflows. The README identifies mozilla-central, related Mercurial repositories, and try-server work as a major focus, and the documentation links to a Mozilla Gecko Git workflow. Package-manager records in the input also show distribution through Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and related channels.

### 使われ方

Practitioners use Git commands against Mercurial repositories by cloning or fetching hg:: URLs, then use git-cinnabar commands to translate Git commits and Mercurial changesets. The tool also exposes Mercurial bookmarks, branch tips, and heads as Git refs and includes metadata validation and cleanup commands for long-lived clones.

### パッケージ好きにとっての重要性

For package users, git-cinnabar is significant because it packages a compatibility layer around two version-control histories rather than just a convenience command. It helped Git-oriented contributors work with Mercurial-hosted Mozilla repositories without abandoning standard Git commands.

### タイムライン

- 0.2.x: Early public tags established the remote-helper line.
- 0.5.0: Repository metadata from versions lower than 0.5.0 required an upgrade path.
- 0.7.x: Later tags continued the Rust-backed 0.x series.

### Related projects

- The README compares git-cinnabar with older git-remote-hg and git-hg helpers and positions it around Mozilla's Mercurial repositories.

### ソース

- <https://formulae.brew.sh/formula/git-cinnabar>
- <https://github.com/glandium/git-cinnabar>
- <https://github.com/glandium/git-cinnabar/wiki/Mozilla:-A-git-workflow-for-Gecko-development>
- <https://raw.githubusercontent.com/glandium/git-cinnabar/master/README.md>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals


## 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: .git/config, ~/.gitconfig
## 他のパッケージマネージャ記録

- Debian apt - git-cinnabar - 0.7.2-2: normalized package name match | Debian stable package indexes: git-cinnabar from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Git remote helper to interact with mercurial repositories | https://github.com/glandium/git-cinnabar
- Nix - git-cinnabar: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-cinnabar/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - git-cinnabar - 0.7.4-1: normalized package name match | Arch Linux sync databases: git-cinnabar from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Git remote helper to interact with Mercurial repositories | https://github.com/glandium/git-cinnabar
- MacPorts - git-cinnabar: normalized package name match | MacPorts ports tree: devel/git-cinnabar/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - git-remote-hg: installed executable or alias match | MacPorts ports tree: devel/git-remote-hg/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - git-remote-hg - 1.0.4~ds-3: installed executable or alias match | Debian stable package indexes: git-remote-hg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bidirectional bridge between Git and Mercurial | https://github.com/mnauw/git-remote-hg
- Nix - git-remote-hg: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/gi/git-remote-hg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - git-remote-hg - 1.0.4-8.fc45: installed executable or alias match | Fedora Rawhide package metadata: git-remote-hg from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Mercurial wrapper for git | https://github.com/mnauw/git-remote-hg


## Combined YAML source

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


## ソース

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