macOS
brew install cppilocal Homebrew formula metadata
brew
Indent C preprocessor directives to reflect their nesting. Version 1.18 via Homebrew; verified from local package data.
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 | cli | global executable |
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.
https://www.gnu.org/software/cppi/
install metadata
| Package key | brew:cppi |
|---|---|
| Version | 1.18 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/cppi |
| Homepage | https://www.gnu.org/software/cppi/ |
| Repository | https://git.savannah.gnu.org/git/cppi.git |
| Upstream docs | https://www.gnu.org/software/cppi |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/cppi/cppi-1.18.tar.xz |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cppi |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
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-28.fc44
C preprocessor directive indenter
http://savannah.gnu.org/projects/cppi/
sudo dnf install cppicppi 1.18-2.33
C preprocessor directive indenter
https://savannah.gnu.org/projects/cppi
sudo zypper install cppicppi-lang 1.18-2.33
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.