# bcpp を Homebrew, apt, MacPorts, zypper, winget でインストール

bcpp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:bcpp
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bcpp
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bcpp
```

  証拠: MacPorts ports tree: devel/bcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install bcpp
```

  証拠: Debian stable package indexes: bcpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install bcpp
```

  証拠: openSUSE Tumbleweed package metadata: bcpp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Slackadays.Clipboard -e
```

  証拠: Windows Package Manager source index: Slackadays.Clipboard from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:bcpp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 20250914
- **ソース概要:** C(++) beautifier
- **ホームページ:** <https://invisible-island.net/bcpp/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bcpp (エイリアス)
- cb++ (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 20250914
## プロジェクトの歴史と使われ方

bcpp is a C and C++ source-code beautifier that indents code and converts tabs and spaces without trying to wrap long statements.

### プロジェクトの歴史

The Invisible Island page says bcpp was written by Steven De Toni and that Thomas E. Dickey's maintained version was based on version 1.8 from December 1995.

Dickey's version kept the original design while improving the parser, marking character state, recognizing more indentation structures, and adding simple embedded-SQL indentation. The public changelog begins in 1996 and continues with portability and maintenance updates into the 2020s.

### 採用の歴史

bcpp has the footprint of a long-lived Unix formatting utility: small, source-distributed, and packaged by Homebrew, Debian, MacPorts, Ubuntu, and openSUSE-family package sets in the supplied package-manager facts.

Its 2012 changelog notes integration of Debian packaging patches, including searching for bcpp.cfg in a user's home directory and an optional compile-time directory.

### 使われ方

Users run bcpp or cb++ to reindent C/C++ source, tune behavior through command-line options or bcpp.cfg, and preserve long statements rather than using it as a full code reflow tool.

It is most relevant for legacy C/C++ style normalization, old trees, and users who want a formatter less ambitious than clang-format or GNU indent.

### パッケージ好きにとっての重要性

bcpp is a compact example of the pre-clang-format formatter era: a focused utility with decades of packaging inertia and maintenance for old compilers, old Unix systems, and distribution conventions.

For package nerds, its value is historical texture as much as raw popularity: it shows how source-formatting tools survived as tiny standalone packages before modern language-server and formatter ecosystems consolidated.

### タイムライン

- 1995: Steven De Toni's bcpp 1.8, the base for the maintained Invisible Island version.
- 1996: Invisible Island changelog begins with parser and indentation work.
- 2012: Debian-derived config-file search and packaging scripts integrated.
- 2020s: Changelog continues with configure-script, portability, and hardening updates.

### Related projects

- GNU indent is the classic formatter bcpp explicitly contrasts with.
- clang-format is the modern C/C++ formatter that overlaps with many current use cases.
- Invisible Island hosts and maintains the current source release and changelog.

### ソース

- <https://invisible-island.net/bcpp/CHANGES.html>
- <https://invisible-island.net/bcpp/bcpp.html>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - bcpp - 0.0.20210108-1+b1: normalized package name match | Debian stable package indexes: bcpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C(++) beautifier | http://www.invisible-island.net/bcpp/
- Ubuntu apt - bcpp - 0.0.20210108-1: normalized package name match | Ubuntu 24.04 LTS package indexes: bcpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C(++) beautifier | http://www.invisible-island.net/bcpp/
- zypper - bcpp - 20250914-1.5: normalized package name match | openSUSE Tumbleweed package metadata: bcpp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Beautify C++ programs | https://invisible-island.net/bcpp/bcpp.html
- MacPorts - bcpp: normalized package name match | MacPorts ports tree: devel/bcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Slackadays.Clipboard: installed executable or alias match | Windows Package Manager source index: Slackadays.Clipboard from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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