tree-sitter

Install command:
brew install tree-sitter

Also known as: libtree-sitter, tree-sitter@0.27

Incremental parsing library

https://tree-sitter.github.io/

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/tree-sitter.json

Formula code: tree-sitter.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.27.2
head ⚡️ HEAD

Other versions:

tree-sitter@0.25 0.25.10 Incremental parsing library
This formula now installs only the `tree-sitter` library (`libtree-sitter`).
To install the CLI tool:
    brew install tree-sitter-cli

GitHub Packages downloads:

Last 30 days312,801
Downloads10,289,872
Analytics install events (30 days)32,771
Downloads / install events (30 days)9.6×

Source: GitHub Packages, fetched 2026-11-22T00:58:56Z. Analytics dates: 2026-10-23 to 2026-11-22. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs32,74385,835312,529
Installs (--HEAD)2890465
Installs on Request4,84213,24455,879
Installs on Request (--HEAD)2788461
Build Errors3