ShellCheck

Static analysis tool that finds bugs in bash and sh shell scripts

Visit shellcheck.net FreeOpen source

ShellCheck analyzes shell scripts and points out syntax issues, semantic problems, and subtle pitfalls such as unquoted variables, with explanations for each warning. It can be used online, from the command line, or in editors and CI.

Key features

  • Detects quoting, globbing, and syntax issues
  • Explanations and wiki page for every warning
  • Online checker plus CLI
  • Integrates with editors and CI

Similar tools

  • ESLint

    Pluggable linter that finds and fixes problems in JavaScript and TypeScript

    FreeOpen sourceCLI, VS Code, JetBrains
  • Biome

    Fast formatter and linter for JavaScript, TypeScript, JSON, and CSS

    FreeOpen sourceCLI, VS Code, JetBrains
  • Oxlint

    Fast JavaScript and TypeScript linter written in Rust

    by VoidZeroFreeOpen sourceCLI, VS Code
  • Ruff

    Extremely fast Python linter and code formatter, written in Rust

    by AstralFreeOpen sourceCLI, VS Code, JetBrains
  • Black

    The uncompromising Python code formatter

    FreeOpen sourceCLI, VS Code, JetBrains
  • Prettier

    Opinionated code formatter for JavaScript, TypeScript, CSS, Markdown, and more

    FreeOpen sourceCLI, VS Code, JetBrains

Built a tool like ShellCheck? Submit it for review