koalaman

shellcheck

A GPLv3 static analysis tool for shell scripts that provides warnings and suggestions for bash/sh scripts, helping identify syntax issues, semantic problems, and potential pitfalls.

v0.11.0
Published at
Aug 4, 2025
40,332
Stars
61,695,713
Download
Synced at
9m ago

The author no longer ships through GitHub Releases, but the repository is still active (last push 4d ago). Get the latest version from: Project homepage

Latest release

v0.11.0Aug 4, 2025, 12:27 AM
Downloads slow? Switch the source anytime above

README

Project Overview

ShellCheck is a GPLv3 static analysis tool for shell scripts that provides warnings and suggestions for bash/sh shell scripts.

Key Features

  • Points out and clarifies typical beginner syntax issues that cause cryptic error messages
  • Points out and clarifies intermediate semantic problems that cause strange behavior
  • Points out subtle caveats, corner cases, and pitfalls that may cause scripts to fail

Target Audience

  • Shell script writers
  • Developers who want to improve script quality and maintainability
  • System administrators and DevOps engineers

Quick Start

  • Web: Paste a script on shellcheck.net for instant feedback
  • Terminal: Run shellcheck yourscript for instant output
  • Editor integration: Supports Vim (ALE/Neomake/Syntastic), Emacs (Flycheck/Flymake), Sublime (SublimeLinter), and more

Core Advantages

  • Open-source and free (GPLv3)
  • Available via web, terminal, and editor integrations
  • Covers issues from beginner to advanced levels
  • Actively maintained by the community

System Requirements

  • OS: Cross-platform

Release history

Sort