# 使用 Homebrew, scoop 安装 ccat

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

## 安装

```sh
sudo av install brew:ccat
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ccat
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/ccat
```

  证据: Scoop official bucket manifest trees: bucket/ccat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:ccat
- **软件包管理器:** Homebrew
- **版本:** 1.1.0
- **来源摘要:** Like cat but displays content with syntax highlighting
- **主页:** <https://github.com/owenthereal/ccat>
- **仓库:** <https://github.com/owenthereal/ccat>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ccat (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ccat is a small Go command-line utility that reimagines cat as a syntax-highlighting terminal viewer. Its official README describes it as a colorizing cat that works like cat while displaying source files with syntax highlighting.

### 项目历史

The upstream GitHub repository was created in May 2015 and published MIT-licensed Go code. The README positions ccat as a native-speed, single-binary alternative to syntax highlighters such as Pygments and GNU source-highlight.

### 采用历史

The README documents Homebrew installation on macOS, Arch Linux/AUR installation, standalone binaries, and source installation with Go. The supplied package facts also show distribution through Homebrew and Scoop.

### 使用方式

Typical usage is the cat-like form ccat FILE1 FILE2, reading from standard input, producing HTML output, selecting dark-background colors, changing token colors, or aliasing cat=ccat for interactive terminal use.

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

ccat matters as an example of the mid-2010s wave of single-purpose Go CLIs shipped as static-ish binaries and immediately wrapped by package managers. It is also a predecessor-in-spirit to later terminal viewers that made syntax-highlighted source display feel routine.

### 时间线

- 2015: GitHub repository created.
- 2015: README documented Homebrew, AUR, standalone binary, and go get installation paths.
- 2022: Repository metadata shows later maintenance activity.

### Related projects

- The README credits Sourcegraph's syntaxhighlight package and names Pygments and GNU source-highlight as alternatives.

### 来源

- <https://api.github.com/repos/owenthereal/ccat>
- <https://github.com/owenthereal/ccat>
- <https://github.com/owenthereal/ccat#readme>
- <https://formulae.brew.sh/api/formula/ccat.json>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Scoop - main/ccat: normalized package name match | Scoop official bucket manifest trees: bucket/ccat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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