Tree-sitter Bash Grammar

JSON →
library 0.25.1 ·python
verified May 20, 2026

tree-sitter-bash provides the Bash grammar for use with the Tree-sitter parsing library. It enables robust, error-tolerant parsing of Bash scripts and shell code, allowing for syntax highlighting, code navigation, and refactoring tools. The current version is 0.25.1, and it maintains a regular release cadence, often aligning with updates to the core Tree-sitter project.

total hits 14
actors 5 distinct systems
last hit 2d ago GPTBot
GPTBot
6
Script
4
ChatGPT-User
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇮🇳 India · 🇫🇷 France · 🇨🇦 Canada