# Install c2048 with Homebrew, apt

Console version of 2048. Version 1.0.3 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install c2048
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install 2048
```

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

## Package facts

- **Package key:** brew:c2048
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/c2048>
- **Version:** 1.0.3
- **Source summary:** Console version of 2048
- **Homepage:** <https://github.com/mevdschee/2048.c>
- **Repository:** <https://github.com/mevdschee/2048.c>
- **Upstream docs:** <https://github.com/mevdschee/2048.c#readme>
- **License:** MIT
- **Source archive:** <https://github.com/mevdschee/2048.c/archive/refs/tags/v1.0.3.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 2048 (cli)
- 2048 (alias)

## 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.0.3
- Local data: ok
- Upstream repository: https://github.com/mevdschee/2048.c
- Upstream latest detected: v1.0.3 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

- <https://github.com/mevdschee/2048.c>
- <https://github.com/mevdschee/2048.c#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:** c2048
- **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

## Other Package-Manager Records

- 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


## 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.
- [c](https://www.automicvault.com/pkg/brew/c/) - Package name indicates the same formula family.
- [nsuds](https://www.automicvault.com/pkg/brew/nsuds/) - Shares av.db curated category or tags: cli, games, puzzle, terminal, terminal-game.
- [vitetris](https://www.automicvault.com/pkg/brew/vitetris/) - Shares av.db curated category or tags: cli, games, puzzle, puzzle-game, terminal-game.
- [enigma](https://www.automicvault.com/pkg/brew/enigma/) - Shares av.db curated category or tags: cli, games, puzzle, puzzle-game.
- [moon-buggy](https://www.automicvault.com/pkg/brew/moon-buggy/) - Shares av.db curated category or tags: cli, games, terminal, terminal-game.
- [npush](https://www.automicvault.com/pkg/brew/npush/) - Shares av.db curated category or tags: cli, games, puzzle, puzzle-game.
- [nsnake](https://www.automicvault.com/pkg/brew/nsnake/) - Shares av.db curated category or tags: cli, games, terminal, terminal-game.
- [nudoku](https://www.automicvault.com/pkg/brew/nudoku/) - Shares av.db curated category or tags: cli, games, puzzle, terminal-game.
- [asciiquarium](https://www.automicvault.com/pkg/brew/asciiquarium/) - 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: c, cli, game, games, terminal.
- [jnethack](https://www.automicvault.com/pkg/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/c2048.yml](https://github.com/automic-vault/db/blob/main/combined/c2048.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
