🍺 BREW Explorer

← all formulae

tree-sitter

brew install tree-sitter v0.26.9 MIT

Incremental parsing library that builds syntax trees for code in C with language bindings.

Why you might care

Tree-sitter powers efficient code analysis, highlighting, and navigation in editors like Neovim and Helix. It parses incrementally—only re-parsing changed sections—making it ideal for real-time linting, formatting, and LSP tooling. Faster and more robust than traditional regex-based approaches.

Categories

Alternatives

ANTLR Pest nom Yacc
21.8k
30-day installs · #223
80.6k
90-day · #211
309.9k
365-day · #209

Links

Caveats

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

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [
    "libtree-sitter",
    "tree-sitter@0.26"
  ],
  "alternatives": [
    "ANTLR",
    "Pest",
    "nom",
    "Yacc"
  ],
  "build_dependencies": [],
  "categories": [
    "parser",
    "library"
  ],
  "caveats": "This formula now installs only the `tree-sitter` library (`libtree-sitter`).\nTo install the CLI tool:\n  brew install tree-sitter-cli\n",
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Incremental parsing library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:45+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "tree-sitter",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://tree-sitter.github.io/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Tree-sitter",
  "installs_30d": 21758,
  "installs_365d": 309948,
  "installs_90d": 80570,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:43:29+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "tree-sitter",
  "oldnames": [],
  "one_liner": "Incremental parsing library that builds syntax trees for code in C with language bindings.",
  "optional_dependencies": [],
  "rank_30d": 223,
  "rank_365d": 209,
  "rank_90d": 211,
  "raw_hash": "356ef801a50d6278",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/t/tree-sitter.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.26.9",
  "versioned_formulae": [
    "tree-sitter@0.25"
  ],
  "why_use_this": "Tree-sitter powers efficient code analysis, highlighting, and navigation in editors like Neovim and Helix. It parses incrementally\u2014only re-parsing changed sections\u2014making it ideal for real-time linting, formatting, and LSP tooling. Faster and more robust than traditional regex-based approaches."
}