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.14.1.1 Command-line interface for Cabal and Hackage
ghc 9.12.1 Glorious Glasgow Haskell Compilation System
pandoc 3.6.2 Swiss-army knife of markup format conversion

Analytics:

Installs (30 days)
shellcheck 13,256
shellcheck --HEAD 6
Installs on Request (30 days)
shellcheck 4,938
shellcheck --HEAD 6
Build Errors (30 days)
shellcheck 1
Installs (90 days)
shellcheck 35,312
shellcheck --HEAD 10
Installs on Request (90 days)
shellcheck 25,931
shellcheck --HEAD 10
Installs (365 days)
shellcheck 125,346
shellcheck --HEAD 65
Installs on Request (365 days)
shellcheck 114,948
shellcheck --HEAD 65
Fork me on GitHub