🍺 BREW Explorer

← all formulae

tree-sitter-cli

brew install tree-sitter-cli v0.26.9 MIT

Command-line parser generator that creates fast, incremental parsers from grammar rules written in JavaScript.

Why you might care

Tree-sitter generates parsers for syntax highlighting, code navigation, and refactoring tools—it's incremental (re-parses only changed code) and language-agnostic. Widely used in editors (Neovim, Helix) and LSP servers. If you're building language tooling, tree-sitter's compiled parsers are orders of magnitude faster than regex-based approaches.

Categories

Alternatives

ANTLR Bison Yacc Pest
4.8k
30-day installs · #622
16.3k
90-day · #614
36.7k
365-day · #800

Build dependencies

Links

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

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "ANTLR",
    "Bison",
    "Yacc",
    "Pest"
  ],
  "build_dependencies": [
    "rust"
  ],
  "categories": [
    "parser",
    "compiler",
    "build-system"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Parser generator tool",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:59+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "tree-sitter-cli",
  "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": 4760,
  "installs_365d": 36704,
  "installs_90d": 16297,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:45:58+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "tree-sitter-cli",
  "oldnames": [],
  "one_liner": "Command-line parser generator that creates fast, incremental parsers from grammar rules written in JavaScript.",
  "optional_dependencies": [],
  "rank_30d": 622,
  "rank_365d": 800,
  "rank_90d": 614,
  "raw_hash": "03538c896c43c316",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/t/tree-sitter-cli.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "node"
  ],
  "uses_from_macos": [
    {
      "llvm": "build"
    }
  ],
  "version_head": "HEAD",
  "version_stable": "0.26.9",
  "versioned_formulae": [],
  "why_use_this": "Tree-sitter generates parsers for syntax highlighting, code navigation, and refactoring tools\u2014it\u0027s incremental (re-parses only changed code) and language-agnostic. Widely used in editors (Neovim, Helix) and LSP servers. If you\u0027re building language tooling, tree-sitter\u0027s compiled parsers are orders of magnitude faster than regex-based approaches."
}