# 使用 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
- **版本:** 6.5.2
- **来源摘要:** Efficient verification tool of multi-threaded software
- **主页:** <https://spinroot.com/spin/whatispin.html>
- **仓库:** <https://github.com/nimble-code/Spin>
- **最后更新:** 2026-06-14T15:13:50+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spin (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 6.5.2
## 项目历史与用法

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

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

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
