shellcheck

Install command:
brew install shellcheck

Static analysis and lint tool, for (ba)sh scripts

https://www.shellcheck.net/

License: GPL-3.0-or-later

Formula JSON API: /api/formula/shellcheck.json

Formula code: shellcheck.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 0.10.0
head ⚡️ HEAD

Depends on when building from source:

cabal-install 3.12.1.0 Command-line interface for Cabal and Hackage
ghc 9.10.1 Glorious Glasgow Haskell Compilation System
pandoc 3.3 Swiss-army knife of markup format conversion

Analytics:

Installs (30 days)
shellcheck 11,971
shellcheck --HEAD 7
Installs on Request (30 days)
shellcheck 11,912
shellcheck --HEAD 7
Build Errors (30 days)
shellcheck 0
Installs (90 days)
shellcheck 49,629
shellcheck --HEAD 13
Installs on Request (90 days)
shellcheck 49,366
shellcheck --HEAD 13
Installs (365 days)
shellcheck 96,206
shellcheck --HEAD 64
Installs on Request (365 days)
shellcheck 94,605
shellcheck --HEAD 64
Fork me on GitHub