Skip to content

shellcheck

Agent-readyInfraSecurity

Shell linting, bash safety, and script review from the terminal.

Shell linting, bash safety, and script review from the terminal. Built by koalaman.

Task fit

shell linting, bash safety, and script review from the terminal.

Lane

Work with Kubernetes, Terraform, containers, and ops tooling with more confidence.

Operator brief

Use shellcheck for shell linting, bash safety, and script review from the terminal.

Run `shellcheck script.sh` and see what comes back.

Repository family

koalaman

First trust check

shellcheck responds locally and is ready for the first real command.

Safe first loop

Install, verify, then run one real command.

Infra inspection loop

Install command

$ brew install shellcheck

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ shellcheck --version

shellcheck responds locally and is ready for the first real command.

First real command

$ shellcheck script.sh

First steps

  1. 01Install shellcheck.
  2. 02Run `shellcheck --version` first.
  3. 03Start with `shellcheck script.sh`.
  4. 04Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.

When to use / hold off when

Best for

shell linting, bash safety, and script review from the terminal.

Use this when

You need security scanning in both local dev and CI.

Hold off when

You don't work with security scanning.

Trust and constraints

trusted100/100
Install readyTrusted
JSON outputNo
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • shellcheck fits infra well, especially for shell linting, bash safety, and script review from the terminal.
  • 26,120 homebrew installs (30d).
  • Easy to automate.

Constraints

  • Output is mostly plain text.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withbrew
Homebrew installs (30d)26.1K
GitHub stars39.2K
LicenseGPL-3.0
UpdatedMar 12, 2026