Introduction
ShellCheck helps find mistakes in your shell scripts before you run them. It points out errors and suggests fixes so your scripts work better.
Before running a new shell script to catch typos or syntax errors.
When you want to improve an existing script and make it safer.
To learn better shell scripting habits by seeing suggestions.
When sharing scripts with others to ensure they are error-free.