shfmt

Install command:
brew install shfmt

Autoformat shell script source code

https://github.com/mvdan/sh

License: BSD-3-Clause

/api/formula/shfmt.json (JSON API)

/api/bottle/shfmt.json (Bottle JSON API)

Formula code on GitHub

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

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 3.3.1
head ⚡️ HEAD

Depends on when building from source:

go 1.17.1 Open source programming language to build simple/reliable/efficient software
scdoc 1.11.1 Small man page generator

Analytics:

Installs (30 days)
shfmt 1,552
shfmt --HEAD 1
Installs on Request (30 days)
shfmt 1,433
shfmt --HEAD 1
Build Errors (30 days)
shfmt 15
Installs (90 days)
shfmt 5,619
shfmt --HEAD 3
Installs on Request (90 days)
shfmt 5,091
shfmt --HEAD 3
Installs (365 days)
shfmt 23,449
shfmt --HEAD 17
Installs on Request (365 days)
shfmt 21,065
shfmt --HEAD 17
Fork me on GitHub