# 使用 Homebrew, apt, MacPorts, Nix, pacman 安装 spin

查看 spin 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:spin
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spin
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install spin
```

  证据: MacPorts ports tree: devel/spin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install spin
```

  证据: Debian stable package indexes: spin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#spin
```

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

- pacman (92%):

```sh
sudo pacman -S spin
```

  证据: Arch Linux sync databases: spin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:spin
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/spin>
- **版本:** 6.5.2
- **来源摘要:** Efficient verification tool of multi-threaded software
- **主页:** <https://spinroot.com/spin/whatispin.html>
- **仓库:** <https://github.com/nimble-code/Spin>
- **上游文档:** <https://spinroot.com/spin/Doc/Manual.pdf>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/nimble-code/Spin/archive/refs/tags/version-6.5.2.tar.gz>
- **最后更新:** 2026-06-14T15:13:50+02:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- spin (cli)
- spin (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 6.5.2
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/nimble-code/Spin
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Spin is a widely used open-source formal verification tool for multi-threaded software, best known in CLI culture for model checking Promela models from the command line.

### 项目历史

The official Spin page says the tool was developed at Bell Labs in the Unix group of the Computing Sciences Research Center starting in 1980 and has been freely available since 1991.

### 采用历史

Spin crossed from research software into standard Unix packaging: the official page notes Debian and Ubuntu availability, and the input facts also list Homebrew, MacPorts, Nix, Arch, Debian, and Ubuntu packages.

### 使用方式

Users write models in Promela and run Spin to check concurrency properties. The official page's small Peterson mutual-exclusion example shows `spin -run peterson.pml` as a command-line analysis workflow.

### 为什么软件包爱好者会关心

For package nerds, Spin is a canonical example of research-grade tooling that belongs in ordinary package indexes: old, portable, scriptable, academically important, and still useful for checking concurrent systems.

### 时间线

- 1980: Development began at Bell Labs, according to the official page.
- 1991: Spin became freely available.
- 2002: Spin received the ACM System Software Award.
- 2016: Version 6.4.5 moved Spin sources to the BSD 3-Clause license.
- 2019: Official source page says the most recent source and binary distribution moved to GitHub maintenance.
- 2020: Current Spin version 6.5.1 was released in July.

### Related projects

- Promela
- Cobra
- Modex
- Swarm verification front-end
- ltl2ba

### 来源

- <https://github.com/nimble-code/Spin>
- <https://spinroot.com/spin/Src/index.html>
- <https://spinroot.com/spin/whatispin.html>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spin
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Debian apt - spin - 6.5.2+dfsg-2: normalized package name match | Debian stable package indexes: spin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | formal software verification tool | https://spinroot.com/spin/whatispin.html
- Nix - spin: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spin/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - spin - 6.5.2+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: spin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | formal software verification tool | http://spinroot.com
- pacman - spin - 6.5.2-5: normalized package name match | Arch Linux sync databases: spin from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for the formal verification of distributed software systems | https://spinroot.com/
- MacPorts - spin: normalized package name match | MacPorts ports tree: devel/spin/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [civl](https://www.automicvault.com/zh-hans/pkg/brew/civl/) - Shares av.db curated category or tags: cli, concurrency, developer-tools, formal-verification, model-checking.
- [cbmc](https://www.automicvault.com/zh-hans/pkg/brew/cbmc/) - Shares av.db curated category or tags: cli, developer-tools, formal-verification, model-checking.
- [dafny](https://www.automicvault.com/zh-hans/pkg/brew/dafny/) - Shares av.db curated category or tags: cli, developer-tools, formal-verification.
- [quint](https://www.automicvault.com/zh-hans/pkg/brew/quint/) - Shares av.db curated category or tags: cli, developer-tools, model-checking.
- [sby](https://www.automicvault.com/zh-hans/pkg/brew/sby/) - Shares av.db curated category or tags: cli, developer-tools, formal-verification.

## Combined YAML source

View the package source record on GitHub. [combined/spin.yml](https://github.com/automic-vault/db/blob/main/combined/spin.yml)


## 来源

- 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
