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.6 Swiss-army knife of markup format conversion

Analytics:

Installs (30 days)
shellcheck 11,522
shellcheck --HEAD 4
Installs on Request (30 days)
shellcheck 10,563
shellcheck --HEAD 4
Build Errors (30 days)
shellcheck 0
Installs (90 days)
shellcheck 28,836
shellcheck --HEAD 8
Installs on Request (90 days)
shellcheck 27,814
shellcheck --HEAD 8
Installs (365 days)
shellcheck 114,847
shellcheck --HEAD 61
Installs on Request (365 days)
shellcheck 112,689
shellcheck --HEAD 61
Fork me on GitHub