# Install git-interactive-rebase-tool with Homebrew, apk, dnf, MacPorts, Nix, scoop

Native sequence editor for Git interactive rebase. Version 2.4.1 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:git-interactive-rebase-tool
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-interactive-rebase-tool
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-interactive-rebase-tool
```

  Evidence: MacPorts ports tree: devel/git-interactive-rebase-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add git-interactive-rebase-tool
```

  Evidence: Alpine Linux edge package indexes: git-interactive-rebase-tool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install git-interactive-rebase-tool
```

  Evidence: Fedora Rawhide package metadata: git-interactive-rebase-tool 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-interactive-rebase-tool
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/git-interactive-rebase-tool
```

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

## Package facts

- **Package key:** brew:git-interactive-rebase-tool
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-interactive-rebase-tool>
- **Version:** 2.4.1
- **Source summary:** Native sequence editor for Git interactive rebase
- **Homepage:** <https://gitrebasetool.mitmaro.ca/>
- **Repository:** <https://github.com/MitMaro/git-interactive-rebase-tool>
- **Upstream docs:** <https://github.com/MitMaro/git-interactive-rebase-tool#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/MitMaro/git-interactive-rebase-tool/archive/refs/tags/2.4.1.tar.gz>
- **Last updated:** 2026-06-22T14:03:31-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- interactive-rebase-tool (cli)
- interactive-rebase-tool (alias)

## Dependencies

- libgit2

## Build dependencies

- pkgconf
- 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: 2.4.1
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/MitMaro/git-interactive-rebase-tool
- Upstream latest detected: 2.4.1 (current)
## Project history and usage

Git Interactive Rebase Tool is a Rust terminal sequence editor for `git rebase -i`. It replaces the plain text todo-file edit step with a keyboard-driven interface for changing actions, reordering commits, inspecting diffs, and writing the rebase plan back to Git.

### Project history

Maro Miguel published the repository in December 2016 and released version 0.1.0 the next day. The changelog records a rapid early rewrite in version 0.2.0, followed by scrolling, man-page, color, exec-action, and configuration work through the 0.x line.

The project reached 1.0.0 in April 2019 with Unicode support and overflow handling. Version 2.0.0 in January 2021 was a larger terminal rewrite, replacing Curses with Crossterm while adding commit diff views, richer key handling, external-editor error handling, and improved macOS color support.

### Adoption history

The README and install guide show the tool moving beyond a Rust crate into ordinary package-manager channels: release binaries and packages for Debian-style and RPM systems, Homebrew on macOS, Cargo, and community packages for Alpine, Arch, Fedora, FreeBSD, Guix, Chocolatey, and Scoop. That packaging spread made it usable as a daily Git sequence editor without asking users to build Rust code by hand.

### How it is used

Users configure Git with `git config --global sequence.editor interactive-rebase-tool`, then run ordinary interactive rebases. Inside the tool they set actions such as pick, squash, fixup, edit, reword, and drop; reorder lines; select multiple commits; inspect commit summaries and diffs; toggle break actions; and write or abort the todo file.

The tool also supports direct invocation on a rebase todo file and temporary overrides through `GIT_SEQUENCE_EDITOR`, which makes it fit both persistent personal Git configuration and one-off rebase sessions.

### Why package nerds care

For package nerds, it is a good example of a single-purpose Rust CLI gaining cross-platform distribution by respecting Git's existing sequence-editor hook. It avoids replacing Git's rebase machinery; it improves the one user-facing edit surface that Git deliberately delegates.

### Timeline

- 2016: Public repository created and 0.1.0 released.
- 2019: 1.0.0 added Unicode and overflow support.
- 2021: 2.0.0 replaced Curses with Crossterm and expanded diff and keybinding support.
- 2024: 2.4.0 added NO_COLOR support and post-modified-line exec command support.

### Related projects

- The tool relates directly to Git's built-in interactive rebase and `GIT_SEQUENCE_EDITOR` interface. It also overlaps with editor-specific Git workflows, but keeps the core interaction inside a portable terminal UI.

### Sources

- <https://api.github.com/repos/MitMaro/git-interactive-rebase-tool>
- <https://github.com/MitMaro/git-interactive-rebase-tool#readme>
- <https://github.com/MitMaro/git-interactive-rebase-tool/blob/master/CHANGELOG.md>
- <https://github.com/MitMaro/git-interactive-rebase-tool/blob/master/readme/install.md>
- <https://gitrebasetool.mitmaro.ca/>


## 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-interactive-rebase-tool
- **Version Scheme:** 0
- **Revision:** 4
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - git-interactive-rebase-tool: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-interactive-rebase-tool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - git-interactive-rebase-tool - 2.4.1-r2: normalized package name match | Alpine Linux edge package indexes: git-interactive-rebase-tool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based sequence editor for interactive rebase | https://gitrebasetool.mitmaro.ca
- apk - git-interactive-rebase-tool-doc - 2.4.1-r2: normalized package name match | Alpine Linux edge package indexes: git-interactive-rebase-tool-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based sequence editor for interactive rebase (documentation) | https://gitrebasetool.mitmaro.ca
- dnf - git-interactive-rebase-tool - 2.4.1-15.fc45: normalized package name match | Fedora Rawhide package metadata: git-interactive-rebase-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Full-featured terminal-based sequence editor for Git interactive rebase | https://crates.io/crates/git-interactive-rebase-tool
- MacPorts - git-interactive-rebase-tool: normalized package name match | MacPorts ports tree: devel/git-interactive-rebase-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-interactive-rebase-tool: normalized package name match | Scoop official bucket manifest trees: bucket/git-interactive-rebase-tool.json from https://api.github.com/repos/ScoopInstaller/Main/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.
- [libgit2](https://www.automicvault.com/pkg/brew/libgit2/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [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.
- [ggc](https://www.automicvault.com/pkg/brew/ggc/) - Shares av.db curated category or tags: cli, developer-tools, git, terminal-ui, 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-graph](https://www.automicvault.com/pkg/brew/git-graph/) - Shares av.db curated category or tags: cli, developer-tools, git, rust, version-control.
- [gitbatch](https://www.automicvault.com/pkg/brew/gitbatch/) - Shares av.db curated category or tags: cli, developer-tools, git, terminal-ui, 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, terminal-ui.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-delta](https://www.automicvault.com/pkg/brew/git-delta/) - Package names and metadata indicate a similar tool family. Shared terms: cli, control, developer, developer-tools, git.
- [git-series](https://www.automicvault.com/pkg/brew/git-series/) - 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-interactive-rebase-tool.yml](https://github.com/automic-vault/db/blob/main/combined/git-interactive-rebase-tool.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
