# 使用 Homebrew, apt, MacPorts, Nix 安装 cppman

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

## 安装

```sh
sudo av install brew:cppman
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cppman
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cppman
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install cppman
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cppman
```

  证据: nixpkgs package indexes: pkgs/by-name/cp/cppman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cppman
- **软件包管理器:** Homebrew
- **版本:** 0.6.3
- **来源摘要:** C++ 98/11/14/17/20 manual pages from cplusplus.com and cppreference.com
- **主页:** <https://github.com/aitjcize/cppman>
- **最后更新:** 2026-08-02T01:55:35+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cppman (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cppman provides C++ manual pages for Unix-like systems, sourcing reference material from cplusplus.com and cppreference.com.

### 项目历史

The upstream README notes that the project was renamed from manpages-cpp to cppman on September 19, 2012. It presents cppman as a command-line interface for C++ reference pages with a man-like workflow.

### 采用历史

Upstream documents installation through PyPI, Arch Linux AUR, Debian and Ubuntu, Homebrew, and MacPorts, showing broad package-manager adoption for a small documentation utility.

### 使用方式

cppman supports cplusplus.com and cppreference.com backends, syntax highlighting, hyperlink navigation in vim pager mode, and an option to expose cached pages to the system man command.

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

cppman appeals to package users because it turns web-first C++ references into local terminal documentation, a familiar Unix packaging pattern for developers who want offline or shell-native lookup.

### 时间线

- 2012-09-19: manpages-cpp was renamed to cppman.
- Current packaging: Upstream README documents PyPI, AUR, Debian/Ubuntu, Homebrew, and MacPorts installation paths.

### Related projects

- The tool depends on cplusplus.com and cppreference.com as content backends and is conceptually related to the system man command.

### 来源

- <https://github.com/aitjcize/cppman#readme>
- <https://pypi.org/project/cppman/>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - cppman - 0.5.7+dfsg-2: normalized package name match | Debian stable package indexes: cppman from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ 98/11 manual pages for Linux, with source from cplusplus.com | https://github.com/aitjcize/cppman/
- Nix - cppman: normalized package name match | nixpkgs package indexes: pkgs/by-name/cp/cppman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cppman - 0.5.6+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cppman from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ 98/11 manual pages for Linux, with source from cplusplus.com | https://github.com/aitjcize/cppman/
- MacPorts - cppman: normalized package name match | MacPorts ports tree: lang/cppman/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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