# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:nbsdgames
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/nbsdgames>
- **版本:** 6.0.2
- **来源摘要:** Text-based modern games
- **主页:** <https://github.com/abakh/nbsdgames>
- **仓库:** <https://github.com/abakh/nbsdgames>
- **许可证:** LicenseRef-Homebrew-public-domain
- **源码归档:** <https://github.com/abakh/nbsdgames/archive/refs/tags/v6.0.2.tar.gz>
- **最后更新:** 2026-06-10T20:41:13Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

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

## 构建依赖

- pkgconf

## macOS 提供的库

- ncurses

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 6.0.2
- 管理器更新时间: 2026-06-10
- 本地数据: OK
- 上游仓库: https://github.com/abakh/nbsdgames
- 检测到的最新版本: v6.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

## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [spaceinvaders-go](https://pkg.so/zh-hans/brew/spaceinvaders-go/) - Shares pkgdb curated category or tags: cli, games, terminal-games.
- [mame](https://pkg.so/zh-hans/brew/mame/) - Shares pkgdb curated category or tags: cli, games.
- [vice](https://pkg.so/zh-hans/brew/vice/) - Shares pkgdb curated category or tags: cli, games.
- [mgba](https://pkg.so/zh-hans/brew/mgba/) - Shares pkgdb curated category or tags: cli, games.
- [ppsspp](https://pkg.so/zh-hans/brew/ppsspp/) - Shares pkgdb curated category or tags: cli, games.
- [dosbox-staging](https://pkg.so/zh-hans/brew/dosbox-staging/) - Shares pkgdb curated category or tags: cli, games.
- [easyrpg-player](https://pkg.so/zh-hans/brew/easyrpg-player/) - Shares pkgdb curated category or tags: cli, games.
- [brogue](https://pkg.so/zh-hans/brew/brogue/) - Shares pkgdb curated category or tags: cli, games, terminal.
- [tty-solitaire](https://pkg.so/zh-hans/brew/tty-solitaire/) - Local package facts share a topical domain. Shared terms: based, cli, games, terminal.
- [gittype](https://pkg.so/zh-hans/brew/gittype/) - Local package facts share a topical domain. Shared terms: cli, games, terminal.

## 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
- 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
