# Install git-cinnabar with Homebrew, apt, dnf, MacPorts, Nix, pacman

Git remote helper to interact with mercurial repositories. Version 0.7.4 via Homebrew; verified 2026-06-25.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

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

  Evidence: 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
```

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

- dnf (92%):

```sh
sudo dnf install git-cinnabar
```

  Evidence: Fedora Rawhide package metadata: git-cinnabar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:git-cinnabar
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-cinnabar>
- **Version:** 0.7.4
- **Source summary:** Git remote helper to interact with mercurial repositories
- **Homepage:** <https://github.com/glandium/git-cinnabar>
- **Repository:** <https://github.com/glandium/git-cinnabar>
- **Upstream docs:** <https://github.com/glandium/git-cinnabar#readme>
- **License:** MPL-2.0 AND GPL-2.0-only
- **Source archive:** <https://static.crates.io/crates/git-cinnabar/git-cinnabar-0.7.4.crate>
- **Last updated:** 2026-06-25T04:21:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-cinnabar (cli)
- git-remote-hg (cli)
- git-cinnabar (alias)
- git-remote-hg (alias)

## Dependencies

- mercurial

## Build dependencies

- rust

## Uses from macOS

- bzip2
- curl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.7.4
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/glandium/git-cinnabar
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Source Database Details

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

## Other Package-Manager Records

- 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
- dnf - git-cinnabar - 0.5.11-5.fc44: normalized package name match | Fedora Rawhide package metadata: git-cinnabar from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Git remote helper to interact with mercurial repositories | https://github.com/glandium/git-cinnabar
- 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-7.fc44: 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Mercurial wrapper for git | https://github.com/mnauw/git-remote-hg


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [mercurial](https://www.automicvault.com/pkg/brew/mercurial/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [braid](https://www.automicvault.com/pkg/brew/braid/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [codeberg-cli](https://www.automicvault.com/pkg/brew/codeberg-cli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [dura](https://www.automicvault.com/pkg/brew/dura/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [gcli](https://www.automicvault.com/pkg/brew/gcli/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-cola](https://www.automicvault.com/pkg/brew/git-cola/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-gui](https://www.automicvault.com/pkg/brew/git-gui/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-lfs](https://www.automicvault.com/pkg/brew/git-lfs/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control.
- [git-remote-codecommit](https://www.automicvault.com/pkg/brew/git-remote-codecommit/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-big-picture](https://www.automicvault.com/pkg/brew/git-big-picture/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## Sources

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