macOS
brew install cppilocal Homebrew formula metadata
brew / rank 5053
Indent C preprocessor directives to reflect their nesting. Version 1.18 via Homebrew; verified from local package data. Also installable with debian: sudo apt install cppi.
install
brew install cppilocal Homebrew formula metadata
sudo apt install cppiDebian stable package indexes · cppi · source: deb.debian.org
sudo dnf install cppiFedora Rawhide package metadata · cppi · source: dl.fedoraproject.org
nix profile install nixpkgs#cppinixpkgs package indexes · pkgs/by-name/cp/cppi/package.nix · source: api.github.com
sudo zypper install cppiopenSUSE Tumbleweed package metadata · cppi · source: download.opensuse.org
overview
Indent C preprocessor directives to reflect their nesting
history
GNU cppi is a small GNU developer tool for indenting C preprocessor directives so their nesting is visible.
The package is maintained as a GNU program, with Savannah hosting its project and source repository and GNU publishing the user manual and release tarballs.
Its adoption is typical of compact GNU command-line utilities: it appears in Unix package collections as a formatting and lint-adjacent aid for C and C++ source trees.
cppi is used from the command line on source files to make conditional-preprocessor structure easier to review by aligning directives with their nesting level.
The package matters to maintainers because it is narrowly scoped, reproducibly distributed through GNU release archives, and useful in style or cleanup pipelines without pulling in a full C formatter.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cppi | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:cppi |
|---|---|
| Version | 1.18 |
| Package manager | Homebrew |
| Homepage | https://www.gnu.org/software/cppi/ |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
cppi 1.18-3
adjusts or checks indentation of C and C++ preprocessor directives
https://www.gnu.org/software/cppi/
sudo apt install cppicppi
nix profile install nixpkgs#cppicppi 1.18-29.fc45
C preprocessor directive indenter
http://savannah.gnu.org/projects/cppi/
sudo dnf install cppicppi 1.18-2.35
C preprocessor directive indenter
https://savannah.gnu.org/projects/cppi
sudo zypper install cppicppi-lang 1.18-2.35
Translations for package cppi
https://savannah.gnu.org/projects/cppi
sudo zypper install cppi-langsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.