macOS
brew install tree-sitter-clilocal Homebrew formula metadata
sudo port install tree-sitterMacPorts ports tree · devel/tree-sitter/Portfile · source: api.github.com
brew / rank 643
Parser generator tool. Version 0.27.0 via Homebrew; verified 2026-09-15. Also installable with debian: sudo apt install tree-sitter-cli.
install
brew install tree-sitter-clilocal Homebrew formula metadata
sudo port install tree-sitterMacPorts ports tree · devel/tree-sitter/Portfile · source: api.github.com
sudo apk add tree-sitter-cliAlpine Linux edge package indexes · tree-sitter-cli · source: dl-cdn.alpinelinux.org
sudo apt install tree-sitter-cliDebian stable package indexes · tree-sitter-cli · source: deb.debian.org
sudo dnf install tree-sitter-cliFedora Rawhide package metadata · tree-sitter-cli · source: dl.fedoraproject.org
sudo pacman -S tree-sitter-cliArch Linux sync databases · tree-sitter-cli · source: geo.mirror.pkgbuild.com
nix profile install nixpkgs#tree-sitternixpkgs package indexes · pkgs/by-name/tr/tree-sitter/package.nix · source: api.github.com
sudo zypper install tree-sitteropenSUSE Tumbleweed package metadata · tree-sitter · source: download.opensuse.org
winget install --id tree-sitter.tree-sitter-cli -eWindows Package Manager source index · tree-sitter.tree-sitter-cli · source: cdn.winget.microsoft.com
choco install tree-sitterChocolatey community package catalog · tree-sitter · source: community.chocolatey.org
scoop install main/tree-sitterScoop official bucket manifest trees · bucket/tree-sitter.json · source: api.github.com
overview
Parser generator tool
history
tree-sitter-cli is the command-line front end for Tree-sitter, a parser generator and incremental parsing library for programming tools.
Tree-sitter was built around a practical editor problem: producing concrete syntax trees that can be updated efficiently as a source file changes. The official documentation describes the system as both a parser generator and an incremental parsing library, general enough for many programming languages, fast enough to run on every keystroke, robust in the presence of syntax errors, and embeddable through a dependency-free C runtime.
The CLI is the package-facing part of that ecosystem. It is used to generate parsers, test grammars, parse files, and support the grammar-development loop that lets language communities publish parsers independently of any single editor.
The project has become a common substrate for developer tooling. The official docs list many official language bindings, third-party bindings, upstream parsers for common languages, a wiki list of known parsers, and public talks from 2017 and 2018. The GitHub repository records a large release history and broad downstream use.
Tree-sitter adoption spread through editors, language tooling, and parser packages because it separated grammar work from editor-specific syntax systems. Language packages can ship grammars, while editors and analysis tools can consume a uniform syntax-tree interface.
For package maintainers, the CLI is the important installable unit: projects need it in build scripts, grammar repositories need it for generated parser artifacts, and users need a consistent `tree-sitter` executable across Homebrew, Linux distributions, Windows package managers, and Nix-style environments.
Package users install `tree-sitter` to initialize and maintain grammar projects, generate parser code, run parser tests, inspect parse trees, and integrate generated parsers into editor or code-analysis workflows.
In the package-nerd niche, tree-sitter-cli sits at the intersection of Rust/C build tooling, editor ecosystems, and language package registries: a small command that unlocks a large graph of grammar packages.
tree-sitter-cli is significant because parser infrastructure moved from being editor-specific glue into a portable package ecosystem. The CLI makes syntax grammars buildable and testable as ordinary packages.
security posture
No matching local secret-handling manifest was found for tree-sitter-cli. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/tree-sitter/config.json~/.config/tree-sitter/config.json./tree-sitter.json%APPDATA%\tree-sitter\config.json%USERPROFILE%\AppData\Roaming\tree-sitter\config.json.\tree-sitter.jsonexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
tree-sitter | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tree-sitter/tree-sitter
install metadata
| Package key | brew:tree-sitter-cli |
|---|---|
| Version | 0.27.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tree-sitter-cli |
| Homepage | https://tree-sitter.github.io |
| Repository | https://github.com/tree-sitter/tree-sitter |
| Upstream docs | https://tree-sitter.github.io |
| License | MIT |
| Source archive | https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.26.13.tar.gz |
| Last updated | 2026-09-15T23:25:03+02:00 |
| Pulse | updated |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | tree-sitter-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
tree-sitter-cli 0.22.6-6+b1
command-line for Tree-sitter parsers
https://tree-sitter.github.io/tree-sitter/
sudo apt install tree-sitter-clitree-sitter-cli 0.20.8-5
command-line for Tree-sitter parsers
sudo apt install tree-sitter-clitree-sitter-cli 0.26.7-r1
Incremental parsing system for programming tools (CLI)
https://tree-sitter.github.io/
sudo apk add tree-sitter-clitree-sitter-cli 0.26.11-1.fc45
CLI tool for developing, testing, and using Tree-sitter parsers
https://crates.io/crates/tree-sitter-cli
sudo dnf install tree-sitter-clitree-sitter-cli 0.26.9-1
CLI tool for developing, testing, and using Tree-sitter parsers
https://github.com/tree-sitter/tree-sitter
sudo pacman -S tree-sitter-clitree-sitter.tree-sitter-cli
winget install --id tree-sitter.tree-sitter-cli -etree-sitter
sudo port install tree-sitterlibrust-tree-sitter-cli-dev 0.22.6-6+b1
command-line for Tree-sitter parsers - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-cli-devlibrust-tree-sitter-config-dev 0.22.6-6+b1
user configuration of tree-sitter's CLI programs - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-config-devlibrust-tree-sitter-dev 0.22.6-6+b1
bindings to the tree-sitter parsing library - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-devlibrust-tree-sitter-highlight-dev 0.22.6-6+b1
perform syntax highlighting with tree-sitter - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-highlight-devlibrust-tree-sitter-loader-dev 0.22.6-6+b1
locates, builds, and loads tree-sitter grammars - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-loader-devlibrust-tree-sitter-tags-dev 0.22.6-6+b1
library for extracting tag information - Rust source code
https://tree-sitter.github.io/tree-sitter/
sudo apt install librust-tree-sitter-tags-devlibtree-sitter-dev 0.22.6-6+b1
incremental parsing system for programming tools (development files)
https://tree-sitter.github.io/tree-sitter/
sudo apt install libtree-sitter-devlibtree-sitter0.22 0.22.6-6+b1
incremental parsing system for programming tools
https://tree-sitter.github.io/tree-sitter/
sudo apt install libtree-sitter0.22tree-sitter
nix profile install nixpkgs#tree-sittersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.