# 使用 Homebrew, apk, apt, Nix, zypper, pacman, dnf 安装 nbsdgames

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

## 安装

```sh
sudo av install brew:nbsdgames
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install nbsdgames
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add nbsdgames
```

  证据: Alpine Linux edge package indexes: nbsdgames from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install nbsdgames
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#nbsdgames
```

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

- zypper (92%):

```sh
sudo zypper install nbsdgames
```

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

- pacman (92%):

```sh
sudo pacman -S fisher
```

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

- dnf (92%):

```sh
sudo dnf install sos
```

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

## 软件包事实

- **软件包键:** brew:nbsdgames
- **软件包管理器:** Homebrew
- **版本:** 6.0.2
- **来源摘要:** Text-based modern games
- **主页:** <https://github.com/abakh/nbsdgames>
- **仓库:** <https://github.com/abakh/nbsdgames>
- **最后更新:** 2026-06-10T20:41:13Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- battleship (别名)
- checkers (别名)
- darrt (别名)
- fifteen (别名)
- fisher (别名)
- jewels (别名)
- memoblocks (别名)
- miketron (别名)
- mines (别名)
- muncher (别名)
- nbsdgames (别名)
- pipes (别名)
- rabbithole (别名)
- redsquare (别名)
- revenge (别名)
- reversi (别名)
- scissor (别名)
- sjump (别名)
- snakeduel (别名)
- sos (别名)
- sudoku (别名)
- trsr (别名)
- tugow (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

nbsdgames is a compact C/ncurses collection of 21 terminal games, mixing classic-style board, puzzle, arcade, and original text games under one menu and individual executables.

### 项目历史

The GitHub repository was created on 2018-09-21. The README frames the project as 'New BSD Games': a lightweight modern answer to classic terminal game collections, with games such as Jewels, Sudoku, Mines, Reversi, Checkers, Battleship, SOS, Rabbithole, Pipes, Fifteen, Fisher, Muncher, Darrt, Snakeduel, and Revenge.

The project is intentionally portable and modest. Its build requirements are POSIX make, a C99 compiler, the standard library, and ncurses, with notes that it is known to work on Windows through PDCurses, has been ported to Plan 9, and can run on DOS and other PDCurses-supported platforms.

### 采用历史

The maintainer README says nbsdgames is packaged in Debian and other DEB repositories, OpenSUSE and other RPM repositories, AUR, Alpine, FreeBSD, NetBSD, DragonFly BSD, Minix, Homebrew, and more, and points to Repology for version tracking.

GitHub API data retrieved on 2026-07-01 showed 301 stars and 24 forks. Homebrew Formulae reported stable version 6.0.2 and 601 installs over the prior 365 days, which is respectable for a terminal game bundle.

### 使用方式

Users can run individual game commands or enter nbsdgames to get the menu. Several games expose simple command-line options for difficulty or board dimensions, so the package works both as a quick terminal distraction and as a source of small C/ncurses examples.

The package-nerd appeal is the same as bsdgames: install once, get a pile of tiny terminal games that work over SSH, in tmux, on small systems, and on platforms where graphical games are beside the point.

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

nbsdgames keeps the old Unix 'games in the base-ish package set' idea alive without trying to become a game platform. It is small, portable, public-domain packaged by Homebrew, and weird in the right terminal-native way.

### 时间线

- 2018-09-21: abakh/nbsdgames repository created.
- 2021-07-18: v4.1.2 release published.
- 2022-02-02: v5 release published.
- 2026-04-26: v6 release published.
- 2026-06-10: v6.0.2 release published.

### 来源

- <https://api.github.com/repos/abakh/nbsdgames>
- <https://api.github.com/repos/abakh/nbsdgames/releases>
- <https://formulae.brew.sh/api/formula/nbsdgames.json>
- <https://github.com/abakh/nbsdgames>
- <https://raw.githubusercontent.com/abakh/nbsdgames/master/README.md>
- <https://repology.org/project/nbsdgames/versions>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - nbsdgames - 5-8: normalized package name match | Debian stable package indexes: nbsdgames from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | text based mini games for your terminal | https://github.com/abakh/nbsdgames
- Nix - nbsdgames: normalized package name match | nixpkgs package indexes: pkgs/by-name/nb/nbsdgames/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - nbsdgames - 5-6: normalized package name match | Ubuntu 24.04 LTS package indexes: nbsdgames from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | text based mini games for your terminal | https://github.com/abakh/nbsdgames
- apk - nbsdgames - 6.0.2-r0: normalized package name match | Alpine Linux edge package indexes: nbsdgames from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A package of 18 text-based modern games | https://github.com/abakh/nbsdgames
- apk - nbsdgames-doc - 6.0.2-r0: normalized package name match | Alpine Linux edge package indexes: nbsdgames-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | A package of 18 text-based modern games (documentation) | https://github.com/abakh/nbsdgames
- zypper - nbsdgames - 6.0.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: nbsdgames from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A collection of text-based games | https://github.com/abakh/nbsdgames
- Debian apt - sos - 4.9.1-1: installed executable or alias match | Debian stable package indexes: sos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Set of tools to gather troubleshooting data from a system | https://github.com/sosreport/sos
- Debian apt - sosreport - 4.9.1-1: installed executable or alias match | Debian stable package indexes: sosreport from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for sos | https://github.com/sosreport/sos
- Debian apt - sudoku - 1.0.5-2.1: installed executable or alias match | Debian stable package indexes: sudoku from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | console based sudoku | https://github.com/cinemast/sudoku
- Nix - pipes: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pi/pipes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sudoku - 1.0.5-2.1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: sudoku from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | console based sudoku | https://github.com/cinemast/sudoku
- apk - fisher - 1.0.0-r3: installed executable or alias match | Alpine Linux edge package indexes: fisher from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Simple yet powerful webhooks catcher | https://github.com/pietroalbini/fisher
- apk - fisher-openrc - 1.0.0-r3: installed executable or alias match | Alpine Linux edge package indexes: fisher-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Simple yet powerful webhooks catcher (OpenRC init scripts) | https://github.com/pietroalbini/fisher
- apk - sos - 0.8-r42: installed executable or alias match | Alpine Linux edge package indexes: sos from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Simple Object Storage | https://github.com/skx/sos
- dnf - sos - 4.11.2-2.fc45: installed executable or alias match | Fedora Rawhide package metadata: sos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A set of tools to gather troubleshooting information from a system | https://github.com/sosreport/sos
- pacman - fisher - 4.4.8-1: installed executable or alias match | Arch Linux sync databases: fisher from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A package manager for the fish shell | https://github.com/jorgebucaran/fisher


## Combined YAML source

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