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

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

## 安装

```sh
sudo av install brew:lolcat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lolcat
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lolcat
```

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

### Linux

- apk (92%):

```sh
sudo apk add lolcat
```

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

- Debian apt (92%):

```sh
sudo apt install lolcat
```

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

- dnf (92%):

```sh
sudo dnf install lolcat
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#lolcat
```

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

- pacman (92%):

```sh
sudo pacman -S lolcat
```

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

## 软件包事实

- **软件包键:** brew:lolcat
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lolcat>
- **版本:** 100.0.1
- **来源摘要:** Rainbows and unicorns in your console!
- **主页:** <https://github.com/busyloop/lolcat>
- **仓库:** <https://github.com/busyloop/lolcat>
- **上游文档:** <https://github.com/busyloop/lolcat#readme>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/busyloop/lolcat.git>
- **最后更新:** 2026-06-06T17:04:14Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- lolcat (cli)
- lolcat (别名)

## 依赖

- ruby

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 100.0.1
- 管理器更新时间: 2026-06-06
- 本地数据: OK
- 上游仓库: https://github.com/busyloop/lolcat
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

lolcat is a small Ruby command-line program for coloring terminal output with rainbow ANSI colors. Its upstream description is intentionally playful: 'Rainbows and unicorns!'

### 项目历史

The official GitHub repository was created in August 2011. The README is minimal, showing the tool's visual output and installation commands for Linux and macOS rather than presenting a large manual.

The package follows the classic Unix filter pattern: install a small executable and pipe text through it to transform output. Its implementation is Ruby-only, and the repository includes a gemspec and man page alongside the `bin` and `lib` directories.

### 采用历史

lolcat has broad package-manager presence for a toy CLI. The supplied package facts list Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and Ubuntu packages.

The official repository's star and fork counts show unusually high recognition for such a small utility, reflecting its spread through terminal screenshots, shell demos, and dotfile culture.

### 使用方式

Users typically pipe command output through `lolcat` to add rainbow color, or call `lolcat` directly on text files. The Homebrew package exposes the `lolcat` executable.

Because lolcat is cosmetic and does not manage state, it has no official config file or credentials file location.

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

lolcat is package-nerd significant because it is pure terminal whimsy that became a real cross-distro package. It is often installed not because it is necessary, but because it makes pipelines, demos, and shell prompts visibly fun.

### 时间线

- 2011: Official GitHub repository created.
- 2010s: lolcat spreads across common Unix-like package managers.
- 2024: Official repository activity continues on GitHub.

### Related projects

- lolcat is related to ANSI terminal color filters and shell-demo utilities, and is commonly combined with ordinary Unix commands through pipes.

### 来源

- <https://api.github.com/repos/busyloop/lolcat>
- <https://github.com/busyloop/lolcat#readme>
- source_facts.package-manager


## 安全说明

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:** lolcat
- **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 - lolcat - 100.0.1-4: normalized package name match | Debian stable package indexes: lolcat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | colorful `cat` | https://github.com/busyloop/lolcat
- Nix - lolcat: normalized package name match | nixpkgs package indexes: pkgs/by-name/lo/lolcat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - lolcat - 100.0.1-3: normalized package name match | Ubuntu 24.04 LTS package indexes: lolcat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | colorful `cat` | https://github.com/busyloop/lolcat
- apk - lolcat - 1.4-r0: normalized package name match | Alpine Linux edge package indexes: lolcat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance implementation of lolcat | https://github.com/jaseg/lolcat/
- dnf - lolcat - 1.5-5.fc44: normalized package name match | Fedora Rawhide package metadata: lolcat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | High-performance implementation of a colorful cat | https://github.com/jaseg/lolcat/
- pacman - lolcat - 100.0.1-5: normalized package name match | Arch Linux sync databases: lolcat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Okay, no unicorns. But rainbows!! | https://github.com/busyloop/lolcat
- MacPorts - lolcat: normalized package name match | MacPorts ports tree: sysutils/lolcat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/zh-hans/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [ruby](https://www.automicvault.com/zh-hans/pkg/brew/ruby/) - Runtime dependency declared by Homebrew.
- [lolcrab](https://www.automicvault.com/zh-hans/pkg/brew/lolcrab/) - Shares av.db curated category or tags: cli, color, system, terminal, terminal-utilities.
- [hr](https://www.automicvault.com/zh-hans/pkg/brew/hr/) - Shares av.db curated category or tags: cli, system, terminal, terminal-utilities.
- [abduco](https://www.automicvault.com/zh-hans/pkg/brew/abduco/) - Shares av.db curated category or tags: cli, system, terminal.
- [ansiweather](https://www.automicvault.com/zh-hans/pkg/brew/ansiweather/) - Shares av.db curated category or tags: cli, system, terminal.
- [bashish](https://www.automicvault.com/zh-hans/pkg/brew/bashish/) - Shares av.db curated category or tags: cli, system, terminal.
- [bottom](https://www.automicvault.com/zh-hans/pkg/brew/bottom/) - Shares av.db curated category or tags: cli, system, terminal.
- [clifm](https://www.automicvault.com/zh-hans/pkg/brew/clifm/) - Shares av.db curated category or tags: cli, system, terminal.
- [cmatrix](https://www.automicvault.com/zh-hans/pkg/brew/cmatrix/) - Shares av.db curated category or tags: cli, system, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/lolcat.yml](https://github.com/automic-vault/db/blob/main/combined/lolcat.yml)


## 来源

- 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
