macOS
brew install gnu-indentlocal Homebrew formula metadata
sudo port install gindentMacPorts ports tree · devel/gindent/Portfile · source: api.github.com
brew
C code prettifier. Version 2.2.13 via Homebrew; verified from local package data.
install
brew install gnu-indentlocal Homebrew formula metadata
sudo port install gindentMacPorts ports tree · devel/gindent/Portfile · source: api.github.com
overview
C code prettifier
history
GNU indent is the GNU Project's C source formatter, a command-line tool for changing whitespace and layout without changing program meaning. Its manual describes it as a formatter for C programs that can make code easier to read and convert between styles.
The GNU manual records Free Software Foundation copyright years beginning in 1989 and describes behavioral changes across early GNU indent releases, including GNU-style indentation as the default from version 1.2 and a revised command format from version 1.3. The formatter retained compatibility concepts from older indent implementations, including an option preset for the original Berkeley style, while making GNU style a first-class default.
GNU indent became part of the long-lived GNU command-line toolchain for projects that wanted reproducible C formatting before newer formatters became widespread. Its homepage points users to GNU mirrors, Savannah development, Info and man documentation, and the GNU bug-tracking workflow, placing it in the same distribution culture as other standalone GNU utilities.
Practitioners use GNU indent to reformat C source files, write formatted output to a separate file or standard output, and select known style presets such as GNU, K&R, Berkeley, or Linux. It also supports a profile file mechanism, so teams or individual developers can keep repeated formatting options outside the command line.
For package maintainers, GNU indent is a small but characteristic GNU utility: mostly invoked as a build or maintenance tool, sensitive to C dialect details, and useful when a project wants GNU formatting behavior rather than the indent variant supplied by another Unix.
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 |
|---|---|---|---|
gindent | 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/indent/
install metadata
| Package key | brew:gnu-indent |
|---|---|
| Version | 2.2.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gnu-indent |
| Homepage | https://www.gnu.org/software/indent/ |
| Repository | https://git.savannah.gnu.org/cgit/indent.git |
| Upstream docs | https://www.gnu.org/software/indent/manual/indent.html |
| License | GPL-3.0-or-later |
| Source archive | https://ftpmirror.gnu.org/gnu/indent/indent-2.2.13.tar.gz |
| Dependencies | gettext |
| Build dependencies | texinfo |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | GNU "indent" has been installed as "gindent". If you need to use it as "indent", you can add a "gnubin" directory to your PATH from your bashrc like: PATH="$HOMEBREW_PREFIX/opt/gnu-indent/libexec/gnubin:$PATH" |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-indent |
| 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.
gindent
sudo port install gindentsource 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.