AptLynx

Command-line tool

shellcheck

brew/shellcheck

Checked 25 Oct 2026, 21:11 UTC · Still published on npm

Static analysis and lint tool, for (ba)sh scripts bash sh shell shellcheck developer-tools cli portable static-analysis devops-tools linter haskell

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:11 UTC

Install it

Windows

npm install -g shellcheck
winget install --id koalaman.shellcheck -e
scoop install shellcheck

macOS

brew install shellcheck
npm install -g shellcheck

Linux

brew install shellcheck
npm install -g shellcheck

Check a shell script

shellcheck path/to/script.sh

Check a shell script interpreting it as the specified shell dialect (overrides the shebang at the top of the script)

shellcheck -s sh path/to/script.sh

Ignore one or more error types

shellcheck -e SC1009,SC1073,... path/to/script.sh

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents