# 使用 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
- **版本:** 0.8.7
- **来源摘要:** Free advanced MasterMind clone
- **主页:** <http://colorcode.laebisch.com/>
- **最后更新:** 2026-05-18T15:16:42-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- colorcode (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
