Skip to content
pkgseek
All tools

ShellCheck

Linting

A static analysis tool for shell scripts. It catches quoting bugs, portability issues, and suspicious shell patterns.

Aliases: ShellCheck · shellcheck

Installation by platform

Package and binary names are factual values and are never translated.

Package verification report

Debian

Verified
package
shellcheck
binary
shellcheck
repository
main
sudo apt install shellcheck

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
trixie/main0.10.0-1amd64/usr/bin/shellcheck

Verified 2026-07-01source

Ubuntu

Repository not indexed
package
shellcheck
binary
shellcheck
repository
universe
sudo apt install shellcheck

Verified 2026-07-01source

Arch

File index unavailable
package
shellcheck
binary
shellcheck
repository
extra
sudo pacman -S shellcheck

Verified 2026-07-01source

Fedora

VerifiedGotcha
package
ShellCheck
binary
shellcheck
repository
fedora
sudo dnf install ShellCheck

Fedora's package name is capitalized as ShellCheck, but the binary is lowercase shellcheck.

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
42/everything0.10.0-4.fc42x86_64/usr/bin/shellcheck
43/everything0.11.0-1.fc43x86_64/usr/bin/shellcheck
44/everything0.11.0-4.fc44x86_64/usr/bin/shellcheck

Verified 2026-07-01source

Alpine

Verified
package
shellcheck
binary
shellcheck
repository
community
sudo apk add shellcheck

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
3.22/community0.10.0-r2x86_64/usr/bin/shellcheck
3.23/community0.11.0-r0x86_64/usr/bin/shellcheck
3.24/community0.11.0-r1x86_64/usr/bin/shellcheck
edge/community0.11.0-r2x86_64/usr/bin/shellcheck

Verified 2026-07-01source

openSUSE

VerifiedGotcha
package
ShellCheck
binary
shellcheck
repository
oss
sudo zypper install ShellCheck

openSUSE's package name is capitalized as ShellCheck, while the command remains shellcheck.

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
15.6/oss0.8.0-bp156.3.8aarch64/usr/bin/shellcheck
15.6/oss0.8.0-bp156.3.8ppc64le/usr/bin/shellcheck
15.6/oss0.8.0-bp156.3.8s390x/usr/bin/shellcheck
15.6/oss0.8.0-bp156.3.8x86_64/usr/bin/shellcheck
16.0/oss0.10.0-bp160.1.17aarch64/usr/bin/shellcheck
16.0/oss0.10.0-bp160.1.17ppc64le/usr/bin/shellcheck
16.0/oss0.10.0-bp160.1.17x86_64/usr/bin/shellcheck

Verified 2026-07-01source

Homebrew

Platform outside package index
package
shellcheck
binary
shellcheck
repository
homebrew/core
brew install shellcheck

Indexed package evidence

Current representative package builds linked from pkgseek's release and architecture index.

ReleaseVersionArchitectureVerified binary path
rolling/core0.11.0anynot indexed

Verified 2026-07-01source

Commands and flags

Flags are imported with their command-level source and verification date.

shellcheck

shellcheck [OPTIONS] FILES...

Verified 2026-07-01source

FlagDescriptionSince
--shell, -s <shell>Specify the shell dialect, such as sh, bash, dash, or ksh.—
--format, -f <format>Select the output format, such as gcc, checkstyle, json, diff, or quiet.—
--severity, -S <level>Only show messages at or above the given severity.—
--exclude, -e <code>Exclude one or more ShellCheck diagnostic codes.—
--enable <check>Enable optional checks.—
--external-sources, -xFollow sourced files that are not provided on the command line.—
--source-path, -P <path>Specify additional paths for resolving sourced files.—
--color <when>Control colored output.—