# 使用 Homebrew, apt 安装 c2048

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

## 安装

```sh
sudo av install brew:c2048
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install c2048
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install 2048
```

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

## 软件包事实

- **软件包键:** brew:c2048
- **软件包管理器:** Homebrew
- **版本:** 1.0.3
- **来源摘要:** Console version of 2048
- **主页:** <https://github.com/mevdschee/2048.c>
- **仓库:** <https://github.com/mevdschee/2048.c>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- 2048 (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

c2048 packages 2048.c, a compact terminal version of the 2048 puzzle game written in C. It is intentionally small: a console game that can be built with a C compiler and run in ANSI-capable terminals.

### 项目历史

The upstream Git history starts on 26 March 2014, shortly after the 2048 puzzle became widely cloned and ported. The README describes the project as a console version of 2048 for GNU/Linux, tested on GNU/Linux, FreeBSD, and OpenBSD.

The project stayed minimal but maintained: later tags include v1.0.0 in 2023, and the repository continued to receive color-scheme and keyboard-input updates through 2025 and 2026.

### 采用历史

The README documents Debian-based installation with `sudo apt install 2048`, and source_facts records Homebrew, Debian, and Ubuntu package names. That combination is typical for small terminal games: distro packages provide discoverability, while source compilation remains a single-command path.

### 使用方式

Users run the `2048` executable in a terminal and move tiles with arrow keys. The README documents alternate color schemes, `--version`, `--help`, and a built-in test mode invoked as `./2048 test`.

The package has no configuration or credential model; its package-manager value is simply making the terminal game available from PATH.

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

c2048 is a neat example of the package-manager afterlife of a viral browser game: once a simple ruleset becomes popular, ports appear in every environment, including tiny ncurses-like terminal packages.

It also shows why minimal C programs package well: no service, no state, no credentials, tiny dependency surface, and easy build-from-source instructions.

### 时间线

- 2014-03-26: Upstream Git history begins with initial commits.
- 2023-10-20: v1.0.0 tag appears.
- 2024-05-21: v1.0.1 tag appears.
- 2025-01-27: v1.0.2 and v1.0.3 tags appear.
- 2025-07-20: Keypad key support is added upstream.
- 2026-04-02: Whiteblack color scheme work lands upstream.

### Related projects

- 2048: the original puzzle game family that 2048.c ports to the terminal.
- Debian and Ubuntu 2048 packages: distro packaging channels recorded in source_facts.
- Other terminal game ports: adjacent tiny packages that turn browser or mobile games into CLI programs.

### 来源

- <https://github.com/mevdschee/2048.c>
- <https://github.com/mevdschee/2048.c#readme>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - 2048 - 1.0.3-1: installed executable or alias match | Debian stable package indexes: 2048 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Slide and add puzzle game for text mode | https://github.com/mevdschee/2048.c
- Ubuntu apt - 2048 - 0.20221023.1237-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: 2048 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Slide and add puzzle game for text mode | https://github.com/mevdschee/2048.c


## Combined YAML source

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