# Installer bcpp avec Homebrew, apt, MacPorts, zypper, winget

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bcpp pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bcpp
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bcpp
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:bcpp
- **Gestionnaire de paquets:** Homebrew
- **Version:** 20250914
- **Résumé source:** C(++) beautifier
- **Page d'accueil:** <https://invisible-island.net/bcpp/>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bcpp (alias)
- cb++ (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 20250914
## Historique du projet et usages

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

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
