Before installing the Tree-sitter CLI, ensure you have:
A JavaScript runtime - Tree-sitter grammars are written in JavaScript. The CLI requires Node.js (or another JavaScript runtime) to interpret grammar files. The runtime command (default: node) must be in your PATH.
A C Compiler - Tree-sitter creates parsers written in C. To compile and test parsers, you need a C/C++ compiler installed. The CLI will look for compilers in the standard platform locations.