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.1
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 days310,232
Downloads10,027,405
Analytics install events (30 days)30,829
Downloads / install events (30 days)10.1×

Source: GitHub Packages, fetched 2026-11-02T00:42:04Z. Analytics dates: 2026-10-03 to 2026-11-02. 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
Installs30,80784,935295,905
Installs (--HEAD)22100447
Installs on Request4,52413,29952,389
Installs on Request (--HEAD)2299444
Build Errors6