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

Development: Pull requests

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

Formula code: shellcheck.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.11.0
head ⚡️ HEAD

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library

Depends on when building from source:

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

Uses from macOS: libffi

Binaries: shellcheck

GitHub Packages downloads:

Last 30 days411,942
Downloads5,837,828
Analytics install events (30 days)39,660
Downloads / install events (30 days)10.4×

Source: GitHub Packages, fetched 2026-11-12T00:51:34Z. Analytics dates: 2026-10-13 to 2026-11-12. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs39,65492,330293,228
Installs (--HEAD)635119
Installs on Request29,68972,100178,755
Installs on Request (--HEAD)635119
Build Errors0