shellcheckv0.11.0
A static analysis tool that checks your shell scripts for bugs and common pitfalls.
40.4k
Stars
3664.7k
Total downloads
10
Versions
6h ago
Page synced
Download
v0.11.02025-08-04 · 1y agoRecommended for most users
shellcheck-v0.11.0.darwin.x86_64.tar.gz
6.4 MBx6414k downloadsSHA256 c2c15e08df…This is the right pick for most people, including when you are unsure about x64 vs arm64.
macOS — all files
shellcheck-v0.11.0.darwin.aarch64.tar.gz
10.8 MBarm64230.3k downloadsSHA256 339b930feb…About this project
ShellCheck is a static analysis tool for shell scripts. Think of it as a spell checker for your scripts: after you write a script, it scans the code and points out error-prone constructs, common pitfalls, and potential bugs, with explanations, so you can fix problems before the script ever runs.
It is aimed at developers and system administrators who write shell scripts regularly, especially anyone who has been bitten by a tiny, hard-to-spot script bug. Install it, run it against your script file, and review the findings and suggestions before deploying.
Key features
- Automatically flags common script errors
- Highlights risky, pitfall-prone constructs
- Explains each finding it reports
- Catches problems before the script runs
- Fits easily into a daily scripting workflow
Use cases & who it's for
- You wrote a deployment script and want an automatic check before running it
- You inherited someone else's shell scripts and want a quick health scan
- A script works on your machine but fails on the server for unknown reasons
- You are learning shell scripting and want a tool that teaches good habits
Maintenance
Stale
Last release 1y ago
License
GPL-3.0
Copyleft license
Allows:Commercial use、Modification、Distribution
Requires:Disclose source、Keep the copyright notice、Same license
Facts
- Language
- Haskell
- Forks
- 2k
- Latest release
- 2025-08-04
- Created
- 2012-11-17
System requirements & installation
- Supported systems
- macOS, Linux, Other (based on the files the latest release actually ships)
- How to install
macOS: Open the .dmg and drag the app into Applications; if macOS blocks the first launch, allow it under System Settings → Privacy & Security.
Linux: Match your distro: .deb for Debian / Ubuntu, .rpm for Fedora / RHEL, or the portable .AppImage (make it executable and run it).
Other: Pick the archive for your system from the release assets and follow any notes inside.
- Which file to pick
Pick x64 for regular Intel / AMD machines and arm64 for ARM devices — the wrong one will not install.
FAQ
Is shellcheck free?
Yes. ShellCheck is free and open source under the GPL-3.0 license, and you can download and use it at no cost.
Which platforms does shellcheck support?
This site offers downloads for Linux, macOS, and other platforms. Pick the build that matches your system.
How do I download and install shellcheck from this site?
Choose the version for your system from the version list on this page, download and extract or install the file, add it to your system path, and run it against your script files from the command line.
Does shellcheck fix my scripts automatically?
ShellCheck checks and reports: it points out problems in your script and explains them with suggestions. Whether and how to change the code is up to you — it never modifies your files on its own.
Older versions 9 versions
Related software
A multi-platform game engine for building 2D and 3D games
A modern runtime for JavaScript and TypeScript.
The new Windows Terminal: a modern host for command-line tools and shells
Ghidra is a software reverse engineering (SRE) framework
