# 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
- **バージョン:** 1.3.7
- **ソース概要:** Submit pull requests for individual, amendable, rebaseable commits to GitHub
- **ホームページ:** <https://spacedentist.github.io/spr/>
- **リポジトリ:** <https://github.com/spacedentist/spr>
- **最終更新:** 2026-06-18T09:25:52+09:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- spr (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.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
## 他のパッケージマネージャ記録

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


## ソース

- 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
