# 使用 Homebrew, apt, dnf, MacPorts, winget 安装 spim

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

## 安装

```sh
sudo av install brew:spim
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spim
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install spim
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install spim
```

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

- dnf (92%):

```sh
sudo dnf install spim
```

  证据: Fedora Rawhide package metadata: spim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id JamesLarus.SPIM -e
```

  证据: Windows Package Manager source index: JamesLarus.SPIM from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:spim
- **软件包管理器:** Homebrew
- **版本:** 9.1.24
- **来源摘要:** MIPS32 simulator
- **主页:** <https://spimsimulator.sourceforge.net/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spim (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SPIM is James Larus's long-running MIPS32 simulator, packaged as a terminal simulator and historically accompanied by graphical variants for teaching assembly language and computer architecture.

### 项目历史

The official site says SPIM reads and executes MIPS32 assembly programs, provides a simple debugger and minimal operating-system services, and includes source code and documentation. Its copyright notice spans 1990 to 2023.

### 采用历史

SPIM persisted in package collections because it was a compact teaching tool with a stable command-line interface. The input facts list Homebrew, Debian, Fedora, MacPorts, Ubuntu, and winget packages.

### 使用方式

The terminal `spim` program is used to run assembly-language programs for the simulator, while QtSpim provides a cross-platform GUI. The official site says older PCSpim and xspim interfaces remain available but are no longer maintained.

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

Package maintainers care about SPIM because it is classic educational infrastructure: small, stable, source-available, and useful on lab machines where students need the same MIPS simulator from a package manager.

### 时间线

- 1990: Copyright period begins for James R. Larus's SPIM codebase.
- Pre-7.0: Older SPIM versions implemented the MIPS-I instruction set.
- 7.0 and later: SPIM moved to the MIPS32 architecture according to the older-versions page.
- 2023: ChangeLog records release 9.1.24 on August 4.
- 2023: Official site says SPIM is no longer supported and should retire.

### Related projects

- QtSpim
- xspim
- PCSpim
- MIPS32

### 来源

- <https://sourceforge.net/p/spimsimulator/code/HEAD/tree/ChangeLog>
- <https://spimsimulator.sourceforge.net/>
- <https://spimsimulator.sourceforge.net/older.html>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - spim - 8.0+dfsg-7: normalized package name match | Debian stable package indexes: spim from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | MIPS R2000/R3000 emulator | http://pages.cs.wisc.edu/~larus/spim.html
- Ubuntu apt - spim - 8.0+dfsg-7: normalized package name match | Ubuntu 24.04 LTS package indexes: spim from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | MIPS R2000/R3000 emulator | http://pages.cs.wisc.edu/~larus/spim.html
- dnf - spim - 20230804-0.13.svn.fc45: normalized package name match | Fedora Rawhide package metadata: spim from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | An assembly language MIPS32 simulator | http://spimsimulator.sourceforge.net/
- MacPorts - spim: normalized package name match | MacPorts ports tree: emulators/spim/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - JamesLarus.SPIM: normalized package name match | Windows Package Manager source index: JamesLarus.SPIM from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/spim.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spim.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
