gnu-indent

Install command:
brew install gnu-indent

C code prettifier

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

License: GPL-3.0-or-later

/api/formula/gnu-indent.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel x86_64 big sur, catalina, mojave, high sierra, sierra
Apple Silicon big sur

Current versions:

stable 2.2.12

Revision: 1

Depends on:

gettext 0.21 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="$(brew --prefix)/opt/gnu-indent/libexec/gnubin:$PATH"

Analytics:

Installs (30 days)
gnu-indent 739
Installs on Request (30 days)
gnu-indent 653
Build Errors (30 days)
gnu-indent 0
Installs (90 days)
gnu-indent 2,430
Installs on Request (90 days)
gnu-indent 2,160
Installs (365 days)
gnu-indent 10,667
Installs on Request (365 days)
gnu-indent 9,715
Fork me on GitHub