# 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
- **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>
- **Last updated:** 2026-06-18T09:25:52+09:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- spr (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.3.7
## 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
## 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


## Combined YAML source

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


## Sources

- 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
