# 使用 Homebrew, apt 安装 color-code

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

## 安装

```sh
sudo av install brew:color-code
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install color-code
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install colorcode
```

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

## 软件包事实

- **软件包键:** brew:color-code
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/color-code>
- **版本:** 0.8.7
- **来源摘要:** Free advanced MasterMind clone
- **主页:** <http://colorcode.laebisch.com/>
- **上游文档:** <http://colorcode.laebisch.com/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <http://colorcode.laebisch.com/download/ColorCode-0.8.7.tar.gz>
- **最后更新:** 2026-05-18T15:16:42-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- colorcode (cli)
- colorcode (别名)

## 依赖

- qt@5

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.7
- 管理器更新时间: 2026-05-18
- 本地数据: OK
- 上游仓库: http://colorcode.laebisch.com/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

ColorCode is a GPL-licensed Qt MasterMind clone by Dirk Laebisch. It is packaged less as a Unix command-line tool than as a small desktop puzzle game that happens to be distributed through Unix package managers.

### 项目历史

The project had a dedicated website by October 2009, shortly after the 0.5 release. Its early releases expanded the game from a configurable MasterMind clone into a richer puzzle implementation with alternate game modes, accessibility-oriented scaling, preferences, a timer, stored game lists, and a built-in solver.

### 采用历史

ColorCode entered Debian packaging in December 2009, which is the most visible upstream-cited adoption milestone. The supplied Homebrew metadata also maps it to Debian and Ubuntu packages, making it a small cross-distribution desktop game rather than a single-manager formula.

### 使用方式

Users run the `colorcode` executable to play MasterMind variants with configurable color counts, column counts, duplicate-peg rules, predefined difficulty levels, and optional solver assistance.

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

ColorCode is a representative example of Homebrew carrying lightweight open-source desktop software alongside CLI tools. Its upstream history also shows the usual long tail of small Qt applications: source tarballs and distro packaging matter more than a large hosted forge presence.

### 时间线

- 2009: ColorCode 0.5 released and the dedicated project website launched.
- 2009: Debian packaging announced by upstream.
- 2010: ColorCode 0.6 added a second game mode and settings dialogs.
- 2011: ColorCode 0.7 added separate solver and timer threads plus game lists.
- 2015: ColorCode 0.8.5 became the first feature-complete Qt 5 release.
- 2023: ColorCode 0.8.7 added CMake as a build option while keeping qmake.

### Related projects

- The project is explicitly positioned as a MasterMind clone and solver. Its package-manager footprint links it to desktop game packaging in Debian, Ubuntu, and Homebrew.

### 来源

- <http://colorcode.laebisch.com/>


## 安全说明

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:** color-code
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Debian apt - colorcode - 0.8.7-1+b1: installed executable or alias match | Debian stable package indexes: colorcode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | advanced clone of the MasterMind code-breaking game | http://colorcode.laebisch.com/
- Ubuntu apt - colorcode - 0.8.7-1build2: installed executable or alias match | Ubuntu 24.04 LTS package indexes: colorcode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | advanced clone of the MasterMind code-breaking game | http://colorcode.laebisch.com/


## 相关链接

- [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.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [qt@5](https://pkg.so/zh-hans/brew/qt-5/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [enigma](https://pkg.so/zh-hans/brew/enigma/) - Shares pkgdb curated category or tags: cli, games, puzzle, puzzle-game.
- [npush](https://pkg.so/zh-hans/brew/npush/) - Shares pkgdb curated category or tags: cli, games, puzzle, puzzle-game.
- [nudoku](https://pkg.so/zh-hans/brew/nudoku/) - Shares pkgdb curated category or tags: cli, games, puzzle.
- [puzzles](https://pkg.so/zh-hans/brew/puzzles/) - Shares pkgdb curated category or tags: cli, games, puzzle.
- [nsuds](https://pkg.so/zh-hans/brew/nsuds/) - Shares pkgdb curated category or tags: cli, games, puzzle.
- [vitetris](https://pkg.so/zh-hans/brew/vitetris/) - Shares pkgdb curated category or tags: cli, games, puzzle-game.
- [pc6001vx](https://pkg.so/zh-hans/brew/pc6001vx/) - Shares pkgdb curated category or tags: cli, games, qt.
- [c2048](https://pkg.so/zh-hans/brew/c2048/) - Shares pkgdb curated category or tags: cli, games, puzzle-game.

## Combined YAML source

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