# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 cmatrix

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

## 安装

```sh
sudo av install brew:cmatrix
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cmatrix
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cmatrix
```

  证据: MacPorts ports tree: games/cmatrix/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cmatrix
```

  证据: Alpine Linux edge package indexes: cmatrix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cmatrix
```

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

- dnf (92%):

```sh
sudo dnf install cmatrix
```

  证据: Fedora Rawhide package metadata: cmatrix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#cmatrix
```

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

- pacman (92%):

```sh
sudo pacman -S cmatrix
```

  证据: Arch Linux sync databases: cmatrix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install cmatrix
```

  证据: openSUSE Tumbleweed package metadata: cmatrix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:cmatrix
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cmatrix>
- **版本:** 2.0
- **来源摘要:** Console Matrix
- **主页:** <https://github.com/abishekvashok/cmatrix/>
- **仓库:** <https://github.com/abishekvashok/cmatrix>
- **上游文档:** <https://github.com/abishekvashok/cmatrix/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/abishekvashok/cmatrix/archive/refs/tags/v2.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- cmatrix (cli)
- cmatrix (别名)

## 构建依赖

- autoconf
- automake

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

CMatrix is a terminal animation that recreates the falling-code look associated with The Matrix. Its appeal is deliberately simple: it is a small ncurses-style command that turns a terminal into a screensaver-like visual toy.

### 项目历史

The current upstream README credits Chris Allegretta with writing cmatrix and later handing maintenance to the present GitHub project. The README describes the program as based on the Matrix website screensaver and inspired by the 1999 film's visual style.

The GitHub repository was created in 2013 and preserves the old Unix terminal-tool form: build with autotools or CMake, install the binary, and run `cmatrix` for the effect.

### 采用历史

CMatrix became a stock package-manager novelty because it has almost no conceptual setup, is instantly recognizable in demos, and works as a harmless terminal animation. The input package facts list it across Homebrew, Debian, Ubuntu, Fedora/dnf, Arch/pacman, Alpine/apk, MacPorts, Nix, and openSUSE/zypper.

### 使用方式

The README documents simple invocation as `cmatrix`, with options such as update speed and color. It also documents movie-like presets such as `cmatrix -lba`, which is the kind of one-command payoff that made it common in screenshots, shell demos, and terminal customization posts.

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

For package nerds, CMatrix is the archetypal terminal toy: tiny, visual, easy to package, and useful as a smoke test for curses, terminal color, and font behavior. It is not infrastructure, but it is culturally durable in Unix package sets because it demonstrates that package managers carry fun as well as work.

### 时间线

- 2013: Current GitHub repository created.
- 2017: GitHub release 1.2 published as a stable release.
- 2019: GitHub release v2.0 published.
- 2024: Current repository still receives maintenance activity.

### Related projects

- The README explicitly relates CMatrix to the Matrix website screensaver and credits jwz's `xmatrix` module for XScreenSaver as an influence in its contributor notes.

### 来源

- <https://github.com/abishekvashok/cmatrix#readme>
- <https://api.github.com/repos/abishekvashok/cmatrix>
- <https://api.github.com/repos/abishekvashok/cmatrix/releases>


## 安全说明

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

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

- Debian apt - cmatrix - 2.0-6: normalized package name match | Debian stable package indexes: cmatrix from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | simulates the display from "The Matrix" | https://github.com/abishekvashok/cmatrix
- Debian apt - cmatrix-xfont - 2.0-6: normalized package name match | Debian stable package indexes: cmatrix-xfont from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | X11 font for cmatrix | https://github.com/abishekvashok/cmatrix
- Nix - cmatrix: normalized package name match | nixpkgs package indexes: pkgs/by-name/cm/cmatrix/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cmatrix - 2.0-6: normalized package name match | Ubuntu 24.04 LTS package indexes: cmatrix from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | simulates the display from "The Matrix" | https://github.com/abishekvashok/cmatrix
- Ubuntu apt - cmatrix-xfont - 2.0-6: normalized package name match | Ubuntu 24.04 LTS package indexes: cmatrix-xfont from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | X11 font for cmatrix | https://github.com/abishekvashok/cmatrix
- apk - cmatrix - 2.0-r2: normalized package name match | Alpine Linux edge package indexes: cmatrix from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based 'The Matrix' like implementation | https://github.com/abishekvashok/cmatrix
- apk - cmatrix-doc - 2.0-r2: normalized package name match | Alpine Linux edge package indexes: cmatrix-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Terminal based 'The Matrix' like implementation (documentation) | https://github.com/abishekvashok/cmatrix
- dnf - cmatrix - 2.0-15.fc45: normalized package name match | Fedora Rawhide package metadata: cmatrix from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A scrolling 'Matrix'-like screen | https://github.com/abishekvashok/cmatrix
- dnf - cmatrix-x11-fonts - 2.0-15.fc45: normalized package name match | Fedora Rawhide package metadata: cmatrix-x11-fonts from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | The font of 'Matrix' for X11 | https://github.com/abishekvashok/cmatrix
- pacman - cmatrix - 2.0-4: normalized package name match | Arch Linux sync databases: cmatrix from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A curses-based scrolling 'Matrix'-like screen | https://www.asty.org/cmatrix/
- zypper - cmatrix - 2.0-1.6: normalized package name match | openSUSE Tumbleweed package metadata: cmatrix from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Matrix screensaver | https://github.com/abishekvashok/cmatrix
- MacPorts - cmatrix: normalized package name match | MacPorts ports tree: games/cmatrix/Portfile from https://api.github.com/repos/macports/macports-ports/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.
- [Scientific computing packages](https://pkg.so/zh-hans/scientific-computing-tools/) - Matched scientific computing metadata.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [asciiquarium](https://pkg.so/zh-hans/brew/asciiquarium/) - Shares pkgdb curated category or tags: animation, cli, terminal, toys.
- [cbonsai](https://pkg.so/zh-hans/brew/cbonsai/) - Shares pkgdb curated category or tags: cli, ncurses, terminal, toys.
- [cowsay](https://pkg.so/zh-hans/brew/cowsay/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [sl](https://pkg.so/zh-hans/brew/sl/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [fortune](https://pkg.so/zh-hans/brew/fortune/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [ponysay](https://pkg.so/zh-hans/brew/ponysay/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [kotofetch](https://pkg.so/zh-hans/brew/kotofetch/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [fakesteak](https://pkg.so/zh-hans/brew/fakesteak/) - Shares pkgdb curated category or tags: cli, terminal, toys.
- [no-more-secrets](https://pkg.so/zh-hans/brew/no-more-secrets/) - Local package facts share a topical domain. Shared terms: animation, cli, terminal, toys.

## Combined YAML source

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