# 使用 Homebrew, apk, apt, Nix, pacman 安装 tty-solitaire

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

## 安装

```sh
sudo av install brew:tty-solitaire
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tty-solitaire
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add tty-solitaire
```

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

- Debian apt (92%):

```sh
sudo apt install tty-solitaire
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#tty-solitaire
```

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

- pacman (92%):

```sh
sudo pacman -S tty-solitaire
```

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

## 软件包事实

- **软件包键:** brew:tty-solitaire
- **软件包管理器:** Homebrew
- **版本:** 1.4.1
- **来源摘要:** Ncurses-based klondike solitaire game
- **主页:** <https://github.com/mpereira/tty-solitaire>
- **仓库:** <https://github.com/mpereira/tty-solitaire>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ttysolitaire (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

tty-solitaire is Murilo Pereira's ncurses-based Klondike solitaire game for the terminal, installed as the `ttysolitaire` command.

In package-manager culture it is a classic terminal game: small, offline, ncurses-based, and easy to carry across Unix-like package collections.

### 项目历史

The official README describes the project as an ncurses-based Klondike solitaire game and documents UTF-8 terminal, multibyte C library, and wide-character ncurses dependencies. It names Murilo Pereira as the author and uses the MIT license.

The README's install section documents both source builds and package-manager installs, with the source example using the v1.4.1 tarball. The GitHub repository page describes it as 'Play solitaire in your terminal' and lists the latest release as v1.4.1 on 19 April 2025.

### 采用历史

The README lists package-manager installation commands for Arch Linux, macOS through Homebrew, Debian testing, Nix, Void Linux, FreeBSD, Slackware, and ALT Linux. The supplied package facts add Homebrew, Alpine, Debian, Ubuntu, Nix, and Arch/pacman metadata.

That distribution footprint is the story: tty-solitaire is not a large platform, but it is exactly the kind of terminal game that package indexes preserve because it is simple, self-contained, and pleasant to install with one command.

### 使用方式

Users run `ttysolitaire` in a terminal. The README documents options for version/help output, number of passes through the deck, four-color deck drawing, and disabling background color.

Developers and package maintainers build it with `make`, install with `sudo make install`, and can run `make test`; the README points to ncurses documentation for the underlying terminal UI dependency.

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

tty-solitaire is package-nerd significant as a durable ncurses game: a tiny source tree, familiar build tooling, no service dependency, and broad package-manager availability.

It also fits the terminal-games lineage where package collections double as archives of small interactive programs that keep Unix terminals playful without requiring graphical stacks.

### 时间线

- Undated: README documents package-manager installs for Arch, Homebrew, Debian testing, Nix, Void, FreeBSD, Slackware, and ALT Linux.
- 2025: GitHub repository page lists v1.4.1 as the latest release on April 19, 2025.
- Current: Supplied package facts list availability across Homebrew, Alpine, Debian, Ubuntu, Nix, and Arch/pacman.

### Related projects

- ncurses is the terminal UI dependency documented by the README.
- Klondike solitaire is the card-game variant implemented by the package.

### 来源

- <https://github.com/mpereira/tty-solitaire#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - tty-solitaire - 1.3.1-1+b1: normalized package name match | Debian stable package indexes: tty-solitaire from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses-based klondike solitaire game | https://github.com/mpereira/tty-solitaire
- Nix - tty-solitaire: normalized package name match | nixpkgs package indexes: pkgs/by-name/tt/tty-solitaire/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tty-solitaire - 1.3.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: tty-solitaire from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses-based klondike solitaire game | https://github.com/mpereira/tty-solitaire
- apk - tty-solitaire - 1.4.1-r0: normalized package name match | Alpine Linux edge package indexes: tty-solitaire from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | ncurses-based klondike solitaire game | https://github.com/mpereira/tty-solitaire
- pacman - tty-solitaire - 1.4.1-1: normalized package name match | Arch Linux sync databases: tty-solitaire from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | ncurses-based klondike solitaire game | https://github.com/mpereira/tty-solitaire


## Combined YAML source

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