# 使用 Homebrew, apt, Nix, zypper 安装 ninvaders

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

## 安装

```sh
sudo av install brew:ninvaders
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ninvaders
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install ninvaders
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ninvaders
```

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

- zypper (92%):

```sh
sudo zypper install ninvaders
```

  证据: openSUSE Tumbleweed package metadata: ninvaders from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:ninvaders
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ninvaders>
- **版本:** 0.1.1
- **来源摘要:** Space Invaders in the terminal
- **主页:** <https://ninvaders.sourceforge.net/>
- **上游文档:** <https://ninvaders.sourceforge.net/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://downloads.sourceforge.net/project/ninvaders/ninvaders/0.1.1/ninvaders-0.1.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- nInvaders (cli)
- nInvaders (别名)

## macOS 提供的库

- ncurses

## 安装行为

- 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-08-04
- 管理器版本: 0.1.1
- 本地数据: OK
- 上游仓库: https://ninvaders.sourceforge.net/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

nInvaders is a tiny ncurses Space Invaders clone for terminals. Its historical value is not ecosystem influence but preservation of a classic early-2000s Unix package genre: small C games that run over text terminals and survive because distributions keep them packaged.

### 项目历史

The Debian man page credits Thomas Dettbarn as the program author, says the program is GPL, and dates the manual page to July 21, 2002. The SourceForge homepage points users to CVS snapshots and beta testing, and its news section records nInvaders 0.1.1 on May 8, 2003, after the 0.0.10 release on April 8, 2003.

The 0.1.1 SourceForge news entry says that release added a timer, made the game playable under IRIX, Windows, and some Red Hat versions, added a title screen, and fixed a freeze when shooting the last alien. The package has not grown into an actively evolving game platform; it is a finished little terminal toy.

### 采用历史

nInvaders persists through package managers rather than an active upstream community. Debian still publishes a man page for package versions in unstable/testing, Homebrew bottles it for macOS and Linux, and SourceForge still hosts the old tarballs.

On 2026-07-01, Homebrew listed nInvaders 0.1.1 with 524 installs over 365 days, while SourceForge listed the 0.1.1 folder with 107 weekly downloads. Those numbers are small, but for a 2003 terminal game they show durable curiosity and packaging inertia.

### 使用方式

Usage is intentionally simple: run `nInvaders`, move with the left and right arrow keys, shoot with space, and optionally set a starting skill level with `-l`. Debian's manual describes it as ASCII-art Space Invaders using ncurses, playable anywhere a terminal can render it.

For package nerds it is useful as a smoke-test/fun package: ncurses, terminal input, simple build system, old upstream tarball, and a binary whose behavior is immediately visible.

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

nInvaders is a good enrichment record precisely because it is niche. It represents the long tail of package databases: not strategically important, but culturally recognizable, easy to install, and stable enough that distros can keep carrying it almost unchanged.

### 时间线

- {'date': '2002-07-21', 'event': 'Debian manual page dated; credits Thomas Dettbarn as program author.'}
- {'date': '2003-04-08', 'event': 'SourceForge file listing records nInvaders 0.0.10.'}
- {'date': '2003-05-08', 'event': 'nInvaders 0.1.1 released on SourceForge.'}

### 来源

- <https://formulae.brew.sh/formula/ninvaders>
- <https://github.com/TheZ3ro/ninvaders>
- <https://manpages.debian.org/unstable/ninvaders/ninvaders.6.en.html>
- <https://ninvaders.sourceforge.net/>
- <https://sourceforge.net/projects/ninvaders/files/ninvaders/>


## 安全说明

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:** ninvaders
- **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 - ninvaders - 0.1.1-5+b1: normalized package name match | Debian stable package indexes: ninvaders from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | A space invaders-like game using ncurses
- Nix - ninvaders: normalized package name match | nixpkgs package indexes: pkgs/by-name/ni/ninvaders/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ninvaders - 0.1.1-5: normalized package name match | Ubuntu 24.04 LTS package indexes: ninvaders from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | A space invaders-like game using ncurses
- zypper - ninvaders - 0.1.1-4.5: normalized package name match | openSUSE Tumbleweed package metadata: ninvaders from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A space invaders-like game using ncurses | http://ninvaders.sourceforge.net/


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://pkg.so/zh-hans/game-emulation-tools/) - Matched game or emulation metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [ski](https://pkg.so/zh-hans/brew/ski/) - Shares pkgdb curated category or tags: arcade, cli, game, games, terminal-game.
- [nsnake](https://pkg.so/zh-hans/brew/nsnake/) - Shares pkgdb curated category or tags: cli, game, games, ncurses, terminal-game.
- [moon-buggy](https://pkg.so/zh-hans/brew/moon-buggy/) - Shares pkgdb curated category or tags: arcade, cli, game, games, terminal-game.
- [spaceinvaders-go](https://pkg.so/zh-hans/brew/spaceinvaders-go/) - Shares pkgdb curated category or tags: cli, game, games, space-invaders, terminal-game.
- [robotfindskitten](https://pkg.so/zh-hans/brew/robotfindskitten/) - Shares pkgdb curated category or tags: cli, game, games, ncurses, terminal-game.
- [nsuds](https://pkg.so/zh-hans/brew/nsuds/) - Shares pkgdb curated category or tags: cli, game, games, ncurses, terminal-game.
- [nethack](https://pkg.so/zh-hans/brew/nethack/) - Shares pkgdb curated category or tags: cli, game, games, terminal-game.
- [bastet](https://pkg.so/zh-hans/brew/bastet/) - Shares pkgdb curated category or tags: cli, game, games, ncurses.

## Combined YAML source

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


## 来源

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