# Install spr with Homebrew, Nix

Submit pull requests for individual, amendable, rebaseable commits to GitHub. Version 1.3.7 via Homebrew; verified 2026-06-18. Also installable with nix: nix profile install nixpkgs#spr.

## Install

```sh
sudo av install brew:spr
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spr
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#spr
```

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

## Package facts

- **Package key:** brew:spr
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spr>
- **Version:** 1.3.7
- **Source summary:** Submit pull requests for individual, amendable, rebaseable commits to GitHub
- **Homepage:** <https://spacedentist.github.io/spr/>
- **Repository:** <https://github.com/spacedentist/spr>
- **Upstream docs:** <https://spacedentist.github.io/spr>
- **License:** MIT
- **Source archive:** <https://github.com/spacedentist/spr/archive/refs/tags/v1.3.7.tar.gz>
- **Last updated:** 2026-06-18T09:25:52+09:00
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- spr (cli)
- spr (alias)

## 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-25
- Package-manager version: 1.3.7
- Package-manager updated: 2026-06-18
- Local data: ok
- Upstream repository: https://github.com/spacedentist/spr
- Upstream latest detected: v1.3.7 (current)
## Project history and usage

spr is a Rust command-line tool for using a stacked-diff workflow with GitHub pull requests. It treats individual commits, rather than long-lived review branches, as the unit of code review.

### Project history

The project was created in 2022 and documents its workflow as a GitHub-oriented version of ideas familiar to users of Phabricator's arc tool. Its documentation frames the motivation as avoiding a branch-per-review workflow while still using GitHub pull requests.

### Adoption history

spr is distributed as source and binaries through GitHub releases and is packaged for Homebrew and nixpkgs. Its repository metadata and badges also point to Rust and crates.io distribution, placing it in the small but visible ecosystem of stacked-diff CLIs for GitHub users.

### How it is used

Typical use starts with `spr init` inside a GitHub-backed repository, which writes spr settings into the repository's Git config and guides GitHub authorization. Users then run `spr diff` to create or update pull requests from commits and `spr land` to merge approved work.

### Why package nerds care

Package-manager users care about spr because it brings a formerly review-system-specific workflow, stacked commit review, into a standalone GitHub CLI. It is useful in environments where developers want the local simplicity of rebasing a single mainline branch but still need GitHub pull requests for review and merge.

### Timeline

- 2022: GitHub repository created and v1.0.0 published.
- 2025: v1.3.7 published on GitHub releases.

### Related projects

- spr's documentation explicitly compares the workflow to Phabricator and its `arc` command-line tool. It also belongs to the broader family of stacked-diff tools used around GitHub pull requests.

### Sources

- GitHub API repository and releases metadata for spacedentist/spr, accessed 2026-07-02
- <https://github.com/spacedentist/spr>
- <https://raw.githubusercontent.com/spacedentist/spr/master/docs/reference/configuration.md>
- <https://spacedentist.github.io/spr/>
- input source_facts.package-manager


## 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: <repo>/.git/config

## Credential files

- Unix: <repo>/.git/config
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spr
- **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 - spr: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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.
- [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.
- [prr](https://www.automicvault.com/pkg/brew/prr/) - Shares av.db curated category or tags: cli, code-review, developer-tools, github, pull-requests.
- [gerrit-tools](https://www.automicvault.com/pkg/brew/gerrit-tools/) - Shares av.db curated category or tags: cli, code-review, developer-tools.
- [hunk](https://www.automicvault.com/pkg/brew/hunk/) - Shares av.db curated category or tags: cli, code-review, developer-tools.
- [rbtools](https://www.automicvault.com/pkg/brew/rbtools/) - Shares av.db curated category or tags: cli, code-review, developer-tools.
- [git-spice](https://www.automicvault.com/pkg/brew/git-spice/) - Shares av.db curated category or tags: cli, developer-tools, github, pull-requests.
- [multi-gitter](https://www.automicvault.com/pkg/brew/multi-gitter/) - Shares av.db curated category or tags: cli, developer-tools, github, pull-requests.
- [autocode](https://www.automicvault.com/pkg/brew/autocode/) - Shares av.db curated category or tags: cli, developer-tools, github.
- [cargo-crev](https://www.automicvault.com/pkg/brew/cargo-crev/) - Shares av.db curated category or tags: cli, code-review, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/spr.yml](https://github.com/automic-vault/db/blob/main/combined/spr.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
