macOS
brew install checkbashismslocal Homebrew formula metadata
brew
Checks for bashisms in shell scripts. Version 2.26.10 via Homebrew; verified 2026-07-06.
install
brew install checkbashismslocal Homebrew formula metadata
sudo apk add checkbashismsAlpine Linux edge package indexes · checkbashisms · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#checkbashismsnixpkgs package indexes · pkgs/by-name/ch/checkbashisms/package.nix · source: api.github.com
sudo pacman -S checkbashismsArch Linux sync databases · checkbashisms · source: geo.mirror.pkgbuild.com
sudo zypper install checkbashismsopenSUSE Tumbleweed package metadata · checkbashisms · source: download.opensuse.org
overview
Checks for bashisms in shell scripts
history
checkbashisms is a Debian devscripts command that scans shell scripts for possible bash-specific constructs in scripts intended to run as /bin/sh.
The Debian manpage says checkbashisms was originally written as a shell script by Yann Dirson and rewritten in Perl by Julian Gilbey. The current script says it is based on a Lintian scripts check with copyright ancestry from Richard Braakman, Josip Rodin, and Julian Gilbey.
checkbashisms entered devscripts as a new script in the August 2003 changelog. Because devscripts is a standard Debian developer utility package, the command spread first through Debian and Ubuntu workflows, then through repackaging in Homebrew, Alpine, Nix, Arch, and openSUSE as recorded in the batch input.
Users run `checkbashisms script ...` to warn about constructs not required by POSIX, with options for stricter POSIX checking, force-checking, lint-style editor output, extra context, and early failure.
checkbashisms is package-nerd folklore because it encodes Debian Policy and POSIX shell portability expectations into a tiny linter, catching scripts that accidentally require bash when packaged as /bin/sh-compatible.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
checkbashisms | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://launchpad.net/ubuntu/+source/devscripts/
install metadata
| Package key | brew:checkbashisms |
|---|---|
| Version | 2.26.10 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/checkbashisms |
| Homepage | https://launchpad.net/ubuntu/+source/devscripts/ |
| Repository | https://salsa.debian.org/debian/devscripts |
| Upstream docs | https://manpages.debian.org/testing/devscripts/checkbashisms.1.en.html |
| License | GPL-2.0-or-later |
| Source archive | https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.26.10.tar.xz |
| Last updated | 2026-07-06T15:26:54Z |
| Pulse | updated |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | checkbashisms |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
checkbashisms
nix profile install nixpkgs#checkbashismscheckbashisms 2.26.5-r1
Debian developer scripts (checkbashisms)
https://tracker.debian.org/pkg/devscripts
sudo apk add checkbashismscheckbashisms 2.26.9-1
Debian script that checks for bashisms
https://tracker.debian.org/pkg/devscripts
sudo pacman -S checkbashismscheckbashisms 2.26.9-1.1
Tool for checking /bin/sh scripts for possible bashisms
https://salsa.debian.org/debian/devscripts
sudo zypper install checkbashismssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.