🍺 BREW Explorer

← all formulae

shellcheck

brew install shellcheck v0.11.0 GPL-3.0-or-later

Static analysis and linter for bash/sh scripts, written in Haskell.

Why you might care

Catches common shell scripting errors (unquoted variables, missing quotes, logic bugs) before they cause production failures. Fast, single-binary, integrates into CI/CD and editors. No competing tool covers as many shell anti-patterns with as little configuration.

Categories

Alternatives

shellcheck is dominant flake8 (Python) eslint (JavaScript)
19.7k
30-day installs · #237
71.3k
90-day · #222
219.5k
365-day · #263

Runtime dependencies

gmp

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "shellcheck is dominant",
    "flake8 (Python)",
    "eslint (JavaScript)"
  ],
  "build_dependencies": [
    "cabal-install",
    "ghc",
    "pandoc"
  ],
  "categories": [
    "linter",
    "shell"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gmp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Static analysis and lint tool, for (ba)sh scripts",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:45+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "shellcheck",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://www.shellcheck.net/",
  "homepage_og_description": "ShellCheck finds bugs in your shell scripts",
  "homepage_og_image": "shellcheck.png",
  "homepage_title": "ShellCheck \u2013 shell script analysis tool",
  "installs_30d": 19742,
  "installs_365d": 219480,
  "installs_90d": 71333,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-3.0-or-later",
  "llm_generated_at": "2026-06-20T23:43:37+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "shellcheck",
  "oldnames": [],
  "one_liner": "Static analysis and linter for bash/sh scripts, written in Haskell.",
  "optional_dependencies": [],
  "rank_30d": 237,
  "rank_365d": 263,
  "rank_90d": 222,
  "raw_hash": "9b9a524a31daaa72",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/shellcheck.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libffi"
  ],
  "version_head": "HEAD",
  "version_stable": "0.11.0",
  "versioned_formulae": [],
  "why_use_this": "Catches common shell scripting errors (unquoted variables, missing quotes, logic bugs) before they cause production failures. Fast, single-binary, integrates into CI/CD and editors. No competing tool covers as many shell anti-patterns with as little configuration."
}