shellcheck
popularsecuritybrew
koalaman · Shell linting, bash safety, and script review from the terminal.
$ brew install shellcheckOne-liner to try
$ shellcheck script.shAgent pack
Quick reference
Install
brew install shellcheckVerify
shellcheck --versionFirst command
shellcheck script.shMachine JSON
/cli/shellcheck.jsonAbout
Shell linting, bash safety, and script review from the terminal. Built by koalaman.
Example workflow
1. shellcheck script.sh