ShellCheck
shellcheck.net
- Free plan
- Windows
- macOS
- Linux
- Web
- Browser extension
What ShellCheck is
ShellCheck is a free static analysis tool that gives warnings and suggestions for Bash and sh scripts. It looks for syntax problems, semantic issues, and subtle pitfalls that could cause scripts to fail in future circumstances. Users can paste a script on ShellCheck.net for feedback or run it from a terminal with `shellcheck yourscript`. The project lists integrations for Vim, Emacs, Sublime, Pulsar Edit, and VS Code, along with GCC-compatible warnings for other editors. ShellCheck can also be used in builds or test suites; listed CI services include Travis CI, Codacy, Code Climate, CodeFactor, CircleCI, GitHub Actions, and Trunk. Output options include JSON, CheckStyle-compatible XML, GCC-compatible warnings, and readable text with or without ANSI colors. Installation routes include package managers, precompiled binaries, Docker, and compiling from source. The tool is licensed under GPLv3, with documentation in its wiki and bug reports accepted through GitHub issues. The project has no official Apple Silicon binaries, and compiling from source requires 2 GB of RAM.
Who it suits
ShellCheck suits Bash and sh script authors who want warnings during editing or in a build or test suite. It can be used through the web, terminal, or listed editor integrations.
Good to know, and what to watch
- Free and licensed under GPLv3.
- Can run in builds and test suites.
- Offers multiple output formats.
- Available through web, terminal, and editor integrations.
- No official Apple Silicon binaries are provided.
- Source compilation requires 2 GB of RAM.
Plans
Every plan and priceShellCheck
Free plan
The verdict
ShellCheck offers several ways to review shell scripts, from a browser paste to CI integration. Users on Apple Silicon may need a third-party build, and source compilation has a 2 GB RAM requirement.
What the maker publishes
- Apple Silicon
- The project states that it has no official Apple Silicon binaries and points to third-party builds. source
- Build requirement
- Compiling ShellCheck from source requires 2 GB of RAM, according to the project README. source
- Checks
- It aims to identify syntax problems, semantic issues, and subtle pitfalls that could make scripts fail in future circumstances. source
- CI integrations
- The project lists services including Travis CI, Codacy, Code Climate, CodeFactor, CircleCI, GitHub Actions, and Trunk as supporting ShellCheck. source
- Command line
- ShellCheck can run from a terminal with the command `shellcheck yourscript`. source
- Editor integrations
- The project lists integrations for Vim, Emacs, Sublime, Pulsar Edit, and VS Code, with GCC error compatibility for other editors. source
- Install options
- The project documents installation through package managers, precompiled binaries, Docker, and source compilation. source
- Intended use
- The project says ShellCheck is mostly intended for interactive use, but can also be added to builds or test suites. source
- License
- ShellCheck is available under the GPLv3 license. source
- Output formats
- ShellCheck can emit JSON, CheckStyle compatible XML, GCC compatible warnings, and human-readable text with or without ANSI colors. source
- Platforms
- The project documents binaries for Linux, macOS, and Windows and package manager installations across several operating systems. source
- Purpose
- ShellCheck is a static analysis tool that gives warnings and suggestions for Bash and sh scripts. source
- Support and documentation
- The project documents ShellCheck in its wiki and invites users to report bugs through GitHub issues. source
- Web use
- Users can paste a shell script on ShellCheck.net for instant feedback. source
Checked against the maker's pages on 7 Oct 2026.