# Install tty-solitaire with Homebrew, apk, apt, Nix, pacman

Ncurses-based klondike solitaire game. Version 1.4.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

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

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:tty-solitaire
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tty-solitaire>
- **Version:** 1.4.1
- **Source summary:** Ncurses-based klondike solitaire game
- **Homepage:** <https://github.com/mpereira/tty-solitaire>
- **Repository:** <https://github.com/mpereira/tty-solitaire>
- **Upstream docs:** <https://github.com/mpereira/tty-solitaire#readme>
- **License:** MIT
- **Source archive:** <https://github.com/mpereira/tty-solitaire/archive/refs/tags/v1.4.1.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- ttysolitaire (cli)
- ttysolitaire (alias)

## Uses from macOS

- ncurses

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.4.1
- Local data: ok
- Upstream repository: https://github.com/mpereira/tty-solitaire
- Upstream latest detected: v1.4.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tty-solitaire
- **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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Game and emulation packages](https://www.automicvault.com/pkg/game-emulation-tools/) - Matched game or emulation metadata.
- [asciiquarium](https://www.automicvault.com/pkg/brew/asciiquarium/) - Shares av.db curated category or tags: cli, games, terminal.
- [fortune](https://www.automicvault.com/pkg/brew/fortune/) - Shares av.db curated category or tags: cli, games, terminal.
- [nsnake](https://www.automicvault.com/pkg/brew/nsnake/) - Shares av.db curated category or tags: cli, games, ncurses, terminal.
- [nsuds](https://www.automicvault.com/pkg/brew/nsuds/) - Shares av.db curated category or tags: cli, games, ncurses, terminal.
- [tractorgen](https://www.automicvault.com/pkg/brew/tractorgen/) - Shares av.db curated category or tags: cli, games, terminal.
- [trader](https://www.automicvault.com/pkg/brew/trader/) - Shares av.db curated category or tags: cli, games, terminal.
- [c2048](https://www.automicvault.com/pkg/brew/c2048/) - Shares av.db curated category or tags: cli, games, terminal.
- [moon-buggy](https://www.automicvault.com/pkg/brew/moon-buggy/) - Shares av.db curated category or tags: cli, games, terminal.
- [yetris](https://www.automicvault.com/pkg/brew/yetris/) - Local package facts share a topical domain. Shared terms: cli, game, games, ncurses, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/tty-solitaire.yml](https://github.com/automic-vault/db/blob/main/combined/tty-solitaire.yml)


## Sources

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