# Install shellcheck

Static analysis and lint tool, for (ba)sh scripts. Version 0.11.0 via Homebrew; verified 2026-05-15.

## Install

```sh
sudo av install brew:shellcheck
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shellcheck
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install shellcheck
```

  Evidence: MacPorts ports tree: devel/shellcheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add shellcheck
```

  Evidence: Alpine Linux edge package indexes: shellcheck from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install shellcheck
```

  Evidence: Debian stable package indexes: shellcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ShellCheck
```

  Evidence: Fedora Rawhide package metadata: ShellCheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#shellcheck
```

  Evidence: nixpkgs package indexes: shellcheck from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S shellcheck
```

  Evidence: Arch Linux sync databases: shellcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ShellCheck
```

  Evidence: openSUSE Tumbleweed package metadata: ShellCheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install shellcheck
```

  Evidence: Chocolatey community package catalog: shellcheck from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','seafile-client'

- Scoop (92%):

```sh
scoop install main/shellcheck
```

  Evidence: Scoop official bucket manifest trees: bucket/shellcheck.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id koalaman.shellcheck -e
```

  Evidence: Windows Package Manager source index: koalaman.shellcheck from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:shellcheck
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/shellcheck>
- **Version:** 0.11.0
- **Source summary:** Static analysis and lint tool, for (ba)sh scripts
- **Homepage:** <https://www.shellcheck.net/>
- **Repository:** <https://github.com/koalaman/shellcheck>
- **Upstream docs:** <https://github.com/koalaman/shellcheck#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/koalaman/shellcheck/archive/refs/tags/v0.11.0.tar.gz>
- **Last updated:** 2026-05-15T19:26:22-04:00
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- shellcheck (cli)
- shellcheck (alias)

## Dependencies

- gmp

## Build Dependencies

- cabal-install
- ghc
- pandoc

## macOS Provided Libraries

- libffi

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.11.0
- Package-manager updated: 2026-05-15
- Local data status: ok
- Upstream repository: https://github.com/koalaman/shellcheck
- Upstream latest detected: v0.11.0 (current)

## Notes de sécurité

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** shellcheck
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - shellcheck - 0.10.0-1: normalized package name match | Debian stable package indexes: shellcheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | lint tool for shell scripts | https://www.shellcheck.net/
- Nix - shellcheck: normalized package name match | nixpkgs package indexes: shellcheck from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - shellcheck - 0.9.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: shellcheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | lint tool for shell scripts | https://www.shellcheck.net/
- apk - shellcheck - 0.11.0-r1: normalized package name match | Alpine Linux edge package indexes: shellcheck from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a static analysis tool for shell scripts | https://github.com/koalaman/shellcheck
- apk - shellcheck-doc - 0.11.0-r1: normalized package name match | Alpine Linux edge package indexes: shellcheck-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | a static analysis tool for shell scripts (documentation) | https://github.com/koalaman/shellcheck
- dnf - ShellCheck - 0.11.0-4.fc44: normalized package name match | Fedora Rawhide package metadata: ShellCheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Shell script analysis tool | https://www.shellcheck.net/
- dnf - ghc-ShellCheck - 0.11.0-4.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-ShellCheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Haskell ShellCheck library | https://www.shellcheck.net/
- dnf - ghc-ShellCheck-devel - 0.11.0-4.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-ShellCheck-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Haskell ShellCheck library development files | https://www.shellcheck.net/
- dnf - ghc-ShellCheck-doc - 0.11.0-4.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-ShellCheck-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Haskell ShellCheck library documentation | https://www.shellcheck.net/
- dnf - ghc-ShellCheck-prof - 0.11.0-4.fc44: normalized package name match | Fedora Rawhide package metadata: ghc-ShellCheck-prof from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Haskell ShellCheck profiling library | https://www.shellcheck.net/
- pacman - shellcheck - 0.11.0-108: normalized package name match | Arch Linux sync databases: shellcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Shell script analysis tool | https://www.shellcheck.net
- zypper - ShellCheck - 0.10.0-2.23: normalized package name match | openSUSE Tumbleweed package metadata: ShellCheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Shell script analysis tool | https://hackage.haskell.org/package/ShellCheck
- zypper - ghc-ShellCheck - 0.10.0-2.23: normalized package name match | openSUSE Tumbleweed package metadata: ghc-ShellCheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Haskell ShellCheck library | https://hackage.haskell.org/package/ShellCheck
- zypper - ghc-ShellCheck-devel - 0.10.0-2.23: normalized package name match | openSUSE Tumbleweed package metadata: ghc-ShellCheck-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Haskell ShellCheck library development files | https://hackage.haskell.org/package/ShellCheck
- zypper - ghc-ShellCheck-doc - 0.10.0-2.23: normalized package name match | openSUSE Tumbleweed package metadata: ghc-ShellCheck-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Haskell ShellCheck library documentation | https://hackage.haskell.org/package/ShellCheck
- zypper - ghc-ShellCheck-prof - 0.10.0-2.23: normalized package name match | openSUSE Tumbleweed package metadata: ghc-ShellCheck-prof from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Haskell ShellCheck profiling library | https://hackage.haskell.org/package/ShellCheck


## Related Links

- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/fr/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [pandoc](https://www.automicvault.com/fr/pkg/brew/pandoc/) - Build dependency declared by Homebrew.
- [cabal-install](https://www.automicvault.com/fr/pkg/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://www.automicvault.com/fr/pkg/brew/ghc/) - Build dependency declared by Homebrew.
- [actionlint](https://www.automicvault.com/fr/pkg/brew/actionlint/) - Popular package that depends on this formula.
- [shfmt](https://www.automicvault.com/fr/pkg/brew/shfmt/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [sheldon](https://www.automicvault.com/fr/pkg/brew/sheldon/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [mcfly](https://www.automicvault.com/fr/pkg/brew/mcfly/) - Shares av.db curated category or tags: bash, cli, developer-tools, shell.
- [checkbashisms](https://www.automicvault.com/fr/pkg/brew/checkbashisms/) - Shares av.db curated category or tags: cli, developer-tools, linting, shell.
- [checkstyle](https://www.automicvault.com/fr/pkg/brew/checkstyle/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.
- [hlint](https://www.automicvault.com/fr/pkg/brew/hlint/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.
- [detekt](https://www.automicvault.com/fr/pkg/brew/detekt/) - Shares av.db curated category or tags: cli, developer-tools, linting, static-analysis.
- [bashate](https://www.automicvault.com/fr/pkg/brew/bashate/) - Shares av.db curated category or tags: bash, cli, developer-tools, linting, shell.
- [hadolint](https://www.automicvault.com/fr/pkg/brew/hadolint/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, gmp.
- [semgrep](https://www.automicvault.com/fr/pkg/brew/semgrep/) - Local package facts share a topical domain. Shared terms: analysis, cli, developer, developer-tools, gmp.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
