shfmt
Install command:
brew install shfmt
Autoformat shell script source code
License: BSD-3-Clause
Formula JSON API: /api/formula/shfmt.json
Formula code: shfmt.rb
on GitHub
Bottle (binary package) installation support provided for:
macOS on Apple Silicon |
sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | ARM64 | ✅ |
x86_64 | ✅ |
Current versions:
stable | ✅ | 3.12.0 |
head | ⚡️ | HEAD |
Depends on when building from source:
go | 1.24.6 | Open source programming language to build simple/reliable/efficient software |
scdoc | 1.11.3 | Small man page generator |
Analytics:
Installs (30 days) | |
---|---|
shfmt |
3,771 |
shfmt --HEAD |
6 |
Installs on Request (30 days) | |
shfmt |
3,745 |
shfmt --HEAD |
6 |
Build Errors (30 days) | |
shfmt |
0 |
Installs (90 days) | |
shfmt |
11,878 |
shfmt --HEAD |
12 |
Installs on Request (90 days) | |
shfmt |
11,802 |
shfmt --HEAD |
12 |
Installs (365 days) | |
shfmt |
48,978 |
shfmt --HEAD |
54 |
Installs on Request (365 days) | |
shfmt |
48,625 |
shfmt --HEAD |
54 |