# 使用 Homebrew 安装 cppp

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cppp
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cppp
- **软件包管理器:** Homebrew
- **版本:** 2.9
- **来源摘要:** Partial Preprocessor for C
- **主页:** <https://www.muppetlabs.com/~breadbox/software/cppp.html>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cppp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
