shellharden
« Back to VersTracker
Description:
Bash syntax highlighter that encourages/fixes variables quoting
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: bash shell linter formatter developer-tools syntax-highlighting
Install: brew install shellharden
About:
Shellharden is a Bash syntax highlighter and syntax-aware editor that identifies unquoted variables and command substitutions, which can lead to word splitting and globbing errors. It provides precise, safe quoting suggestions to fix these issues, helping developers write more robust and secure shell scripts.
Key Features:
  • Syntax-aware quoting suggestions
  • Identifies word splitting and globbing risks
  • Designed for correctness and security
  • Can be used as a syntax highlighter or a patch generator
Use Cases:
  • Auditing existing shell scripts for quoting errors
  • Refactoring shell scripts to be more robust and portable
  • Integrating into a CI/CD pipeline for shell script linting
Alternatives:
  • shfmt – shfmt is a formatter that enforces a consistent style, while Shellharden focuses on correctness and safety by suggesting fixes for quoting.
  • ShellCheck – ShellCheck is a static analysis tool that reports a wide range of potential issues, whereas Shellharden specializes in providing concrete fixes for quoting problems.
Version History
Detected Version Rev Change Commit
Sep 14, 2025 4:36am 0 VERSION_BUMP a5434ace
Sep 14, 2024 6:42pm 0 VERSION_BUMP 18aa7b2d