# spr を Homebrew, Nix でインストール

spr のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install spr
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:spr
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/spr>
- **バージョン:** 1.3.7
- **ソース概要:** Submit pull requests for individual, amendable, rebaseable commits to GitHub
- **ホームページ:** <https://spacedentist.github.io/spr/>
- **リポジトリ:** <https://github.com/spacedentist/spr>
- **上流ドキュメント:** <https://spacedentist.github.io/spr/>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/spacedentist/spr/archive/refs/tags/v1.3.7.tar.gz>
- **最終更新:** 2026-06-18T09:25:52+09:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- spr (cli)
- spr (エイリアス)

## ビルド依存関係

- pkgconf
- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.3.7
- マネージャ更新日: 2026-06-18
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/spacedentist/spr
- 検出された最新: v1.3.7 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- 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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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:** 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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pkgconf](https://pkg.so/ja/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [prr](https://pkg.so/ja/brew/prr/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools, github, pull-requests.
- [hunk](https://pkg.so/ja/brew/hunk/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [rbtools](https://pkg.so/ja/brew/rbtools/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [gerrit-tools](https://pkg.so/ja/brew/gerrit-tools/) - Shares pkgdb curated category or tags: cli, code-review, developer-tools.
- [git-spice](https://pkg.so/ja/brew/git-spice/) - Shares pkgdb curated category or tags: cli, developer-tools, github, pull-requests.
- [multi-gitter](https://pkg.so/ja/brew/multi-gitter/) - Shares pkgdb curated category or tags: cli, developer-tools, github, pull-requests.
- [gh](https://pkg.so/ja/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, github.
- [hub](https://pkg.so/ja/brew/hub/) - Shares pkgdb curated category or tags: cli, developer-tools, github.

## Combined YAML source

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


## ソース

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