# Install git-graph with Homebrew, apk, Nix, pacman, scoop

Command-line tool to show clear git graphs arranged for your branching model. Version 0.7.0 via Homebrew; verified 2026-07-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-graph
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-graph
```

  Evidence: Alpine Linux edge package indexes: git-graph from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S git-graph
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/git-graph
```

  Evidence: Scoop official bucket manifest trees: bucket/git-graph.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:git-graph
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-graph>
- **Version:** 0.7.0
- **Source summary:** Command-line tool to show clear git graphs arranged for your branching model
- **Homepage:** <https://github.com/git-bahn/git-graph>
- **Repository:** <https://github.com/git-bahn/git-graph>
- **Upstream docs:** <https://github.com/git-bahn/git-graph#readme>
- **License:** MIT
- **Source archive:** <https://github.com/git-bahn/git-graph/archive/refs/tags/v0.7.0.tar.gz>
- **Last updated:** 2026-07-04T16:53:43+09:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- git-graph (cli)
- git-graph (alias)

## Build dependencies

- rust

## 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.0
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://github.com/git-bahn/git-graph
- Upstream latest detected: v0.7.0 (current)
## Project history and usage

git-graph is a Rust command-line tool for rendering Git history graphs in a terminal with branch ordering based on a chosen branching model. It aims to make histories such as GitFlow easier to read than raw graph output from generic clients.

### Project history

The project started in late 2020 and produced a rapid sequence of early releases around text-based graph rendering, branch models, styles, and formatting. The README presents the tool as a structured graph viewer for GitFlow, simple, and custom branching models, while the manual documents model selection, styles, commit formatting, SVG output, and persistent per-repository model settings.

### Adoption history

git-graph occupies a narrower visualization niche than full terminal Git interfaces, but it has package visibility through Homebrew and crates.io. The README also points users who need an interactive terminal application to `git-igitt`, which was built on top of git-graph.

### How it is used

Practitioners run `git-graph` inside a repository, choose a model with `--model`, set a repository's preferred model with `git-graph model`, and tune output with styles or Git-like format strings. Custom branching models live under the platform app-data directory as TOML files.

### Why package nerds care

git-graph is package-manager interesting because it packages a specialized view of repository topology as a standalone binary rather than a large Git client. It is useful when developers want a predictable, scriptable terminal visualization aligned with their branch model.

### Timeline

- 2020: Repository created on GitHub.
- 2020: 0.1.0 release began the release series.
- 2021: 0.5.0 release followed the initial burst of graph-rendering releases.
- 2022: crates.io package appeared.
- 2025: 0.7.0 release line was packaged by Homebrew.

### Related projects

- git-graph relates to `git log --graph`, graphical Git clients, GitFlow-oriented visualization tools, and `git-igitt`, an interactive terminal application based on git-graph.

### Sources

- <https://crates.io/crates/git-graph>
- <https://formulae.brew.sh/formula/git-graph>
- <https://github.com/git-bahn/git-graph>
- <https://github.com/git-bahn/git-graph/blob/master/README.md>
- <https://github.com/git-bahn/git-graph/blob/master/docs/manual.md>
- <https://github.com/git-bahn/git-graph/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-graph
- **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

## Other Package-Manager Records

- Nix - git-graph: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-graph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-graph - 0.7.0-r0: normalized package name match | Alpine Linux edge package indexes: git-graph from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command line tool to show clear git graphs arranged for your branching model | https://github.com/git-bahn/git-graph/
- apk - git-graph-doc - 0.7.0-r0: normalized package name match | Alpine Linux edge package indexes: git-graph-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Command line tool to show clear git graphs arranged for your branching model (documentation) | https://github.com/git-bahn/git-graph/
- pacman - git-graph - 0.7.0-2: normalized package name match | Arch Linux sync databases: git-graph from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | show clear git graphs arranged following different branching model | https://github.com/mlange-42/git-graph
- Scoop - extras/git-graph: normalized package name match | Scoop official bucket manifest trees: bucket/git-graph.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 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.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [git-big-picture](https://www.automicvault.com/pkg/brew/git-big-picture/) - Shares av.db curated category or tags: cli, developer-tools, git, version-control, visualization.
- [codevis](https://www.automicvault.com/pkg/brew/codevis/) - Shares av.db curated category or tags: cli, developer-tools, rust, visualization.
- [committed](https://www.automicvault.com/pkg/brew/committed/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [garden](https://www.automicvault.com/pkg/brew/garden/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-grab](https://www.automicvault.com/pkg/brew/git-grab/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-interactive-rebase-tool](https://www.automicvault.com/pkg/brew/git-interactive-rebase-tool/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [gitoxide](https://www.automicvault.com/pkg/brew/gitoxide/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [gitu](https://www.automicvault.com/pkg/brew/gitu/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [git-cal](https://www.automicvault.com/pkg/brew/git-cal/) - Package names and metadata indicate a similar tool family. Shared terms: cli, command-line, control, developer, developer-tools.
- [git-delete-merged-branches](https://www.automicvault.com/pkg/brew/git-delete-merged-branches/) - Package names and metadata indicate a similar tool family. Shared terms: cli, command-line, control, developer, developer-tools.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
