# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ccat>
- **版本:** 1.1.0
- **来源摘要:** Like cat but displays content with syntax highlighting
- **主页:** <https://github.com/owenthereal/ccat>
- **仓库:** <https://github.com/owenthereal/ccat>
- **许可证:** MIT
- **源码归档:** <https://github.com/owenthereal/ccat/archive/refs/tags/v1.1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ccat (cli)
- ccat (别名)

## 构建依赖

- go

## 安装行为

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

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

## 源数据库详情

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

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

- 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


## 相关链接

- [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.
- [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.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [gat](https://pkg.so/zh-hans/brew/gat/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, go, syntax-highlighting.
- [nyan](https://pkg.so/zh-hans/brew/nyan/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, go, syntax-highlighting.
- [micro](https://pkg.so/zh-hans/brew/micro/) - Shares pkgdb curated category or tags: cli, developer-tools, go, syntax-highlighting, terminal.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.
- [bat](https://pkg.so/zh-hans/brew/bat/) - Shares pkgdb curated category or tags: cat, cli, developer-tools, syntax-highlighting.
- [glow](https://pkg.so/zh-hans/brew/glow/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, viewer.
- [jjui](https://pkg.so/zh-hans/brew/jjui/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.
- [peco](https://pkg.so/zh-hans/brew/peco/) - Shares pkgdb curated category or tags: cli, developer-tools, go, terminal.

## 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
- 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
