checkbashisms
« Back to VersTracker
Description:
Checks for bashisms in shell scripts
Type: Formula  |  Latest Version: 2.25.31@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: shell posix bashism linting portability developer-tools
Install: brew install checkbashisms
About:
checkbashisms is a tool designed to verify that shell scripts do not contain bash-specific syntax, ensuring they adhere to POSIX standards. It scans scripts for non-portable constructs like specific bashisms and flags them for review. This helps developers create portable scripts that can run on any POSIX-compliant shell, reducing compatibility issues across different Unix-like systems.
Key Features:
  • Detects common bashisms in shell scripts
  • Supports checking scripts with various shell interpreters
  • Provides detailed error messages for non-portable code
  • Integrates easily into CI/CD pipelines for automated checks
Use Cases:
  • Validating shell scripts for cross-platform compatibility
  • Auditing legacy scripts to ensure portability
  • Enforcing coding standards in team projects
Alternatives:
  • shellcheck – shellcheck performs broader static analysis for bugs and style, while checkbashisms focuses specifically on bash vs. POSIX portability.
Version History
Detected Version Rev Change Commit
Dec 16, 2025 10:54pm 0 VERSION_BUMP b90c23ec
Dec 4, 2025 4:57pm 0 VERSION_BUMP a87a0d1a
Jan 14, 2025 4:52pm 0 VERSION_BUMP e028ea7a
Dec 19, 2024 4:52pm 0 VERSION_BUMP 5e6f8c3f
Dec 12, 2024 10:53pm 0 VERSION_BUMP 6d05ec8a
Nov 12, 2024 9:28pm 0 VERSION_BUMP 0c871849
Oct 31, 2024 9:28pm 0 VERSION_BUMP f99c0a09
Sep 19, 2024 6:02am 0 VERSION_BUMP 32f4b69e