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 | x86_64 | ✅ |
Current versions:
stable | ✅ | 3.11.0 |
head | ⚡️ | HEAD |
Depends on when building from source:
go | 1.24.1 | Open source programming language to build simple/reliable/efficient software |
scdoc | 1.11.3 | Small man page generator |
Analytics:
Installs (30 days) | |
---|---|
shfmt |
5,205 |
shfmt --HEAD |
7 |
Installs on Request (30 days) | |
shfmt |
5,148 |
shfmt --HEAD |
7 |
Build Errors (30 days) | |
shfmt |
0 |
Installs (90 days) | |
shfmt |
10,307 |
shfmt --HEAD |
10 |
Installs on Request (90 days) | |
shfmt |
10,234 |
shfmt --HEAD |
10 |
Installs (365 days) | |
shfmt |
40,376 |
shfmt --HEAD |
42 |
Installs on Request (365 days) | |
shfmt |
40,046 |
shfmt --HEAD |
42 |