gnu-indent

Install command:
brew install gnu-indent

C code prettifier

https://www.gnu.org/software/indent/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/gnu-indent.json

Formula code: gnu-indent.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon ventura
monterey
big sur
Intel ventura
monterey
big sur
64-bit linux

Current versions:

stable 2.2.13

Depends on:

gettext 0.22.5 GNU internationalization (i18n) and localization (l10n) library
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"

Analytics:

Installs (30 days)
gnu-indent 256
gnu-indent --HEAD 1
Installs on Request (30 days)
gnu-indent 240
gnu-indent --HEAD 1
Build Errors (30 days)
gnu-indent 1
Installs (90 days)
gnu-indent 851
gnu-indent --HEAD 2
Installs on Request (90 days)
gnu-indent 799
gnu-indent --HEAD 2
Installs (365 days)
gnu-indent 4,321
gnu-indent --HEAD 8
Installs on Request (365 days)
gnu-indent 3,931
gnu-indent --HEAD 8
Fork me on GitHub