# 使用 Homebrew, apt, MacPorts 安装 clog

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

## 安装

```sh
sudo av install brew:clog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install clog
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install clog
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install clog
```

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

## 软件包事实

- **软件包键:** brew:clog
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/clog>
- **版本:** 1.3.0
- **来源摘要:** Colorized pattern-matching log tail utility
- **主页:** <https://gothenburgbitfactory.org/clog/docs/>
- **仓库:** <https://github.com/GothenburgBitFactory/clog>
- **上游文档:** <https://gothenburgbitfactory.org/clog/docs/>
- **许可证:** MIT
- **源码归档:** <https://github.com/GothenburgBitFactory/clog/releases/download/v1.3.0/clog-1.3.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- clog (cli)
- clog (别名)

## 构建依赖

- cmake

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Next step is to create a .clogrc file in your home directory. See 'man clog' for details and a sample file.
- 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
- 管理器版本: 1.3.0
- 本地数据: OK
- 上游仓库: https://github.com/GothenburgBitFactory/clog
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Clog is a small command-line filter for colorizing log streams, commonly used with tools such as tail -f so important log lines stand out in a terminal.

### 项目历史

The project is maintained under the Gothenburg Bit Factory organization, with official documentation hosted on gothenburgbitfactory.org and source code in the GothenburgBitFactory/clog GitHub repository.

### 采用历史

Package-manager adoption is modest but broad for a niche log utility: the input records Homebrew, Debian, Ubuntu, and MacPorts package names, which fits a Unix-terminal workflow.

### 使用方式

Users pipe a log stream into clog with a section name; rules in ~/.clogrc match patterns and apply color, match-only coloring, suppression, or blank-line output.

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

Clog matters to package nerds as a focused example of the classic Unix filter model: it does one terminal task, keeps configuration in a dotfile, and composes with tail and other shell tools.

### 时间线

- 2022: GitHub releases list Clog 1.3.0 as the latest release.
- 2025: The official Clog documentation site remained published by Gothenburg Bit Factory.

### Related projects

- The official site links Clog alongside other Gothenburg Bit Factory projects such as Taskwarrior and Timewarrior.

### 来源

- <https://github.com/GothenburgBitFactory/clog#readme describes Clog as a filter that colorizes log files and documents ~/.clogrc.>
- <https://gothenburgbitfactory.org/clog/docs/ documents the official documentation set.>
- source_facts.package-manager lists Homebrew, Debian, Ubuntu, and MacPorts package names.


## 安全说明

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: ~/.clogrc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** clog
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - clog - 1.3.0+dfsg-1: normalized package name match | Debian stable package indexes: clog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | colorizing log tail utility | https://github.com/GothenburgBitFactory/clog
- Ubuntu apt - clog - 1.3.0-1.1: normalized package name match | Ubuntu 24.04 LTS package indexes: clog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | colorizing log tail utility | http://tasktools.org/projects/clog.html
- MacPorts - clog: normalized package name match | MacPorts ports tree: devel/clog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://pkg.so/zh-hans/brew/cmake/) - Build dependency declared by Homebrew.
- [lnav](https://pkg.so/zh-hans/brew/lnav/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, terminal.
- [kubecolor](https://pkg.so/zh-hans/brew/kubecolor/) - Shares pkgdb curated category or tags: cli, colorized-output, developer-tools, terminal.
- [grc](https://pkg.so/zh-hans/brew/grc/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, terminal.
- [icdiff](https://pkg.so/zh-hans/brew/icdiff/) - Shares pkgdb curated category or tags: cli, colorized-output, developer-tools, terminal.
- [spacer](https://pkg.so/zh-hans/brew/spacer/) - Shares pkgdb curated category or tags: cli, developer-tools, logs, terminal.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [starship](https://pkg.so/zh-hans/brew/starship/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal.
- [vramsteg](https://pkg.so/zh-hans/brew/vramsteg/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, terminal.

## Combined YAML source

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


## 来源

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