# 使用 Homebrew 安装 cppp

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

## 安装

```sh
sudo av install brew:cppp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cppp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cppp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cppp>
- **版本:** 2.9
- **来源摘要:** Partial Preprocessor for C
- **主页:** <https://www.muppetlabs.com/~breadbox/software/cppp.html>
- **仓库:** <https://git.sr.ht/~breadbox/cppp>
- **上游文档:** <https://www.muppetlabs.com/~breadbox/software/cppp.html>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://www.muppetlabs.com/~breadbox/pub/software/cppp-2.9.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cppp (cli)
- cppp (别名)

## 安装行为

- 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-07-08
- 管理器版本: 2.9
- 本地数据: OK
- 上游仓库: https://www.muppetlabs.com/~breadbox/software/cppp.html
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

cppp is a partial C preprocessor: it applies only the subset of conditional preprocessing decisions requested by the user.

### 项目历史

The official page describes cppp as a focused tool for applying selected #ifdef, indeterminate preprocessor logic in place.

### 采用历史

The project has a small distribution footprint, with the official page linking both a release tarball and the SourceHut repository.

### 使用方式

Users run cppp with macro symbols defined or undefined on the command line. The tool removes or simplifies conditional-inclusion blocks only when those symbols determine the result.

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

cppp is package-nerd interesting because it fills a narrow gap between doing no preprocessing and running the full C preprocessor, preserving source shape while pruning known feature branches.

### 时间线

- Current release page: The official homepage links cppp-2.9.tar.gz.
- Current source hosting: The official homepage links the SourceHut repository.

### Related projects

- cppp is related to the C preprocessor, but it intentionally performs only partial conditional evaluation instead of full macro preprocessing.

### 来源

- <https://www.muppetlabs.com/~breadbox/software/cppp.html>
- <https://git.sr.ht/~breadbox/cppp>


## 安全说明

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:** cppp
- **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


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [fypp](https://www.automicvault.com/zh-hans/pkg/brew/fypp/) - Shares av.db curated category or tags: cli, developer-tools, preprocessor, preprocessors.
- [gpp](https://www.automicvault.com/zh-hans/pkg/brew/gpp/) - Shares av.db curated category or tags: cli, developer-tools, preprocessor, preprocessors.
- [fmpp](https://www.automicvault.com/zh-hans/pkg/brew/fmpp/) - Shares av.db curated category or tags: cli, developer-tools, preprocessors.
- [mcpp](https://www.automicvault.com/zh-hans/pkg/brew/mcpp/) - Shares av.db curated category or tags: c, cli, developer-tools, preprocessor.
- [aarch64-elf-gcc](https://www.automicvault.com/zh-hans/pkg/brew/aarch64-elf-gcc/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [abi-dumper](https://www.automicvault.com/zh-hans/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [aklomp-base64](https://www.automicvault.com/zh-hans/pkg/brew/aklomp-base64/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [astyle](https://www.automicvault.com/zh-hans/pkg/brew/astyle/) - Shares av.db curated category or tags: c, cli, developer-tools.
- [fnlfmt](https://www.automicvault.com/zh-hans/pkg/brew/fnlfmt/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, source.
- [hut](https://www.automicvault.com/zh-hans/pkg/brew/hut/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, source.

## Combined YAML source

View the package source record on GitHub. [combined/cppp.yml](https://github.com/automic-vault/db/blob/main/combined/cppp.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
- cross-ecosystem install command graph
