Static analysis and lint tool, for (ba)sh scripts. ShellCheck is an open source tool for checking and debugging shell scripts. It is designed to help users identify and fix common issues in their scripts, such as syntax errors, semantic mistakes, and best practices violations. ShellCheck is implemented as a static analysis tool that can be run from the command line or integrated into other software development tools. It supports a wide range of shell languages, including Bash, Dash, and Zsh, and includes features such as automatic fixes for certain types of issues. The ShellCheck website provides documentation, downloads, and other resources for users who want to use the tool in their own projects.
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install shellcheck.net. tea will interpret the documentation and take care of any dependencies.