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 days412,256
Downloads5,821,540
Analytics install events (30 days)39,843
Downloads / install events (30 days)10.4×

Source: GitHub Packages, fetched 2026-11-11T00:50:21Z. Analytics dates: 2026-10-12 to 2026-11-11. 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,83692,317292,519
Installs (--HEAD)736119
Installs on Request30,04472,326178,266
Installs on Request (--HEAD)736119
Build Errors0