[email protected]:~$ man shellcheck

← cd ..
shellcheck logo

shellcheck

ShellCheck, a static analysis tool for shell scripts

★ 40.4K▲ 11GPL-3.0v0.11.0HaskellDevelopment Tools

INSTALLATION

$ apt-get install shellcheck
shellcheck demo

DESCRIPTION

ShellCheck is a static analysis and linting tool designed specifically for Bash and sh shell scripts that flags syntax errors, subtle bugs, and common anti-patterns.

It acts as an automated code reviewer for the terminal, providing precise line-by-line warnings, stylistic suggestions, and explanatory wiki links to help write robust, portable shell code.

Seamlessly integrates into editors, build pipelines, and CI/CD workflows, making it an essential utility for modern DevOps engineers and developers.

DETAILS

Repository
koalaman/shellcheck (2026-11-09)
Website
www.shellcheck.net
Author
koalaman
License
GPL-3.0
Category
Development Tools
Language
Haskell
Platforms
Linux, macOS, Windows
Version
v0.11.0 (2025-08-04)
Repo Age
14 years old

STAR HISTORY

Star history chart for koalaman/shellcheck

TAGS

SEE ALSO

BADGE

Maintain shellcheck? Add this badge to your README: listings that link back are marked verified and ranked first in the directory. It's checked once a day.

shellcheck on The Terminal Index

[+] show code[−] hide code
Markdown
[![shellcheck on The Terminal Index](https://cli.masoko.net/badge/shellcheck.svg)](https://cli.masoko.net/tools/shellcheck/)
HTML
<a href="https://cli.masoko.net/tools/shellcheck/"><img src="https://cli.masoko.net/badge/shellcheck.svg" alt="shellcheck on The Terminal Index"></a>

RELATED TOOLS