# 使用 Homebrew, Nix 安装 yetris

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

## 安装

```sh
sudo av install brew:yetris
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install yetris
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#yetris
```

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

## 软件包事实

- **软件包键:** brew:yetris
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/yetris>
- **版本:** 2.3.0
- **来源摘要:** Customizable Tetris for the terminal
- **主页:** <https://github.com/alexdantas/yetris>
- **仓库:** <https://github.com/alexdantas/yetris>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/alexdantas/yetris/archive/refs/tags/v2.3.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- yetris (cli)
- yetris (别名)

## 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
- 管理器版本: 2.3.0
- 本地数据: OK
- 上游仓库: https://github.com/alexdantas/yetris
- 检测到的最新版本: v2.3.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

yetris is a terminal Tetris clone by Alexandre Dantas, built for players who want modern Tetris conveniences inside a text UI. Its README frames it as a customizable terminal game with colors, animated ncurses screens, hold and ghost pieces, multiple profiles, gameplay statistics, and old-school mode options.

### 项目历史

The public GitHub repository was created in February 2013. The README says the project was originally developed in C and later reprogrammed in C++ with ncurses, with POSIX terminals as its target environment.

Its short public release series in early 2014 shows a compact, hobbyist terminal-game lifecycle: v1.6 and v1.7 in January 2014, v2.0 in February 2014, and v2.1 in March 2014.

### 采用历史

The project remained a niche terminal game rather than a broad platform, but it acquired the usual small-package signals that matter to command-line game collectors: a man page, a make-based install flow, POSIX focus, ncurses dependency, and packaging in Unix package sets.

### 使用方式

Users build it with make, can test it with make run, and launch it as yetris. The README points users to man yetris and yetris --help after installation.

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

yetris is useful catalog material because it represents the ncurses game tradition in package managers: tiny executable, no service, no account, no network API, just a portable text-mode game with enough customization to justify packaging.

### 时间线

- 2013-02: Public GitHub repository created.
- 2014-01: v1.6 and v1.7 releases published.
- 2014-02: v2.0 release published.
- 2014-03: v2.1 release published.

### Related projects

- ncurses: terminal UI library used by yetris.
- Tetris-style terminal games: the broader package-manager niche yetris belongs to.

### 来源

- <https://api.github.com/repos/alexdantas/yetris - repository creation date and project description.>
- <https://api.github.com/repos/alexdantas/yetris/releases - release tags and publication dates.>
- <https://github.com/alexdantas/yetris - README describes origins, features, POSIX/ncurses focus, and usage.>


## 安全说明

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:** yetris
- **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

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

- Nix - yetris: normalized package name match | nixpkgs package indexes: pkgs/by-name/ye/yetris/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [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.
- [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.
- [bastet](https://pkg.so/zh-hans/brew/bastet/) - Shares pkgdb curated category or tags: cli, games, ncurses, tetris.
- [nsnake](https://pkg.so/zh-hans/brew/nsnake/) - Shares pkgdb curated category or tags: cli, games, ncurses, terminal-game.
- [nudoku](https://pkg.so/zh-hans/brew/nudoku/) - Shares pkgdb curated category or tags: cli, games, ncurses, terminal-game.
- [vitetris](https://pkg.so/zh-hans/brew/vitetris/) - Shares pkgdb curated category or tags: cli, games, terminal-game, tetris.
- [ninvaders](https://pkg.so/zh-hans/brew/ninvaders/) - Shares pkgdb curated category or tags: cli, games, ncurses, terminal-game.
- [c2048](https://pkg.so/zh-hans/brew/c2048/) - Shares pkgdb curated category or tags: c, cli, games, terminal-game.
- [robotfindskitten](https://pkg.so/zh-hans/brew/robotfindskitten/) - Shares pkgdb curated category or tags: cli, games, ncurses, terminal-game.
- [nsuds](https://pkg.so/zh-hans/brew/nsuds/) - Shares pkgdb curated category or tags: cli, games, ncurses, terminal-game.
- [jnethack](https://pkg.so/zh-hans/brew/jnethack/) - Local package facts share a topical domain. Shared terms: cli, game, games, terminal, terminal-game.

## Combined YAML source

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