# 使用 Homebrew, apt 安装 colortail

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

## 安装

```sh
sudo av install brew:colortail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install colortail
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install colortail
```

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

## 软件包事实

- **软件包键:** brew:colortail
- **软件包管理器:** Homebrew
- **版本:** 0.3.5
- **来源摘要:** Like tail(1), but with various colors for specified output
- **主页:** <https://github.com/joakim666/colortail>
- **仓库:** <https://github.com/joakim666/colortail>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- colortail (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Colortail is a Unix log-watching utility that follows files like `tail` while applying colors to lines or line fragments matched by regular expressions.

### 项目历史

Joakim Ek's README says the idea came from watching multiple log files in an IRC session and wanting unusual lines to stand out quickly. Version 0.1 used a simpler wildcard-style configuration, version 0.2 moved to regular expressions, and later patch activity led to a C++ rewrite.

### 采用历史

The README credits external patches for multicolored lines, FreeBSD and OpenBSD compatibility, Debian packaging, and 64-bit testing. The supplied package-manager metadata lists Homebrew, Debian, and Ubuntu, reflecting a small but persistent Unix utility footprint.

### 使用方式

Users run `colortail` against one or more log files and pass config files with `-k`; a single config can apply globally, or multiple comma-separated configs can be mapped to multiple tailed files.

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

Colortail is package-nerd useful because it preserves the mental model of `tail -f` while adding configurable color rules. It predates many modern log viewers and remains a compact example of log highlighting as a Unix filter-style tool.

### 时间线

- 2000s: Initial versions evolved from wildcard matching to regular-expression matching.
- 2009: README for Colortail 0.3.5 carries Joakim Ek copyright notice.
- 2009: README credits Debian packaging and portability patches from contributors.

### Related projects

- Colortail is directly related to `tail`, `regex(7)`, syslog-style log files, and terminal color highlighting tools.

### 来源

- <https://github.com/joakim666/colortail>
- <https://raw.githubusercontent.com/joakim666/colortail/master/README>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.colortail/
## 其他软件包管理器记录

- Debian apt - colortail - 0.3.4+git20191125.ad3bc53-1: normalized package name match | Debian stable package indexes: colortail from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | log colorizer that makes log checking easier | https://github.com/joakim666/colortail
- Ubuntu apt - colortail - 0.3.3-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: colortail from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | log colorizer that makes log checking easier | http://joakimandersson.se/projects/colortail/


## Combined YAML source

View the package source record on GitHub. [combined/colortail.yml](https://github.com/mxcl/pkgdb/blob/main/combined/colortail.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
