# koalaman/shellcheck

ShellCheck, a static analysis tool for shell scripts

Repository: https://github.com/koalaman/shellcheck
Canonical: https://ross.abutalabs.com/products/shellcheck
Homepage: https://www.shellcheck.net
Language: Haskell
License: GPL-3.0
License Family: copyleft
Topics: haskell, shell, static-analysis, bash, linter, developer-tools
Last push: 2026-08-04T08:32:46+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 9, longevity 100
- inputs: {"age_days": 5037, "days_push": 29, "days_rel": 395, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 39933, forks 1940 (observed 2026-08-28T04:12:08.063274+00:00)

## What it is
ShellCheck is a GPLv3 static analysis tool that finds bugs, pitfalls, and style issues in bash/sh shell scripts. It runs from the terminal, integrates with editors and CI pipelines, and is also available as a web service.

## Use cases
- lint bash scripts for syntax errors
- find quoting bugs in shell scripts
- check shell script portability between sh and bash
- integrate shell script checks into CI pipelines
- catch common beginner mistakes in shell scripts
- review shell scripts in my editor before committing

## When to choose
- you write or maintain bash or POSIX shell scripts and want automated bug detection
- you want a linter for shell scripts in editors like Vim, Emacs, or VS Code
- you need to enforce shell script quality in CI or code review

## When to avoid
- you need linting for languages other than shell scripts
- you require runtime or dynamic analysis rather than static checks
- you need a formatter that rewrites scripts rather than reporting issues

## Facets
- artifact type: cli-tool
- maturity: stable
- function: linter, developer-tools, cli
- domain: developer-tools, testing
- platform: windows, cli, cross-platform
- tags: shell-scripts, bash, code-quality, haskell, ci-integration, editor-integration, command-line, linux, macos

## Member repositories
- koalaman/shellcheck (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:08.063274+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:24:05.838034+00:00, confidence not recorded.
  - readme: https://github.com/koalaman/shellcheck (fetched 2026-08-28T04:12:08.063274+00:00, sha 5fa1dbf2bc3a)
  - homepage: https://www.shellcheck.net (fetched 2026-08-29T07:46:36.008647+00:00, sha b1a2a84f1536)
- Data as of 2026-08-30T08:39:29.467469+00:00.
