macOS
brew install tree-sitter-clilocal Homebrew formula metadata
sudo port install tree-sitterMacPorts ports tree · devel/tree-sitter/Portfile · 来源: api.github.com
安装
brew install tree-sitter-clilocal Homebrew formula metadata
sudo port install tree-sitterMacPorts ports tree · devel/tree-sitter/Portfile · 来源: api.github.com
sudo apk add tree-sitter-cliAlpine Linux edge package indexes · tree-sitter-cli · 来源: dl-cdn.alpinelinux.org
sudo apt install tree-sitter-cliDebian stable package indexes · tree-sitter-cli · 来源: deb.debian.org
sudo dnf install tree-sitter-cliFedora Rawhide package metadata · tree-sitter-cli · 来源: dl.fedoraproject.org
sudo pacman -S tree-sitter-cliArch Linux sync databases · tree-sitter-cli · 来源: geo.mirror.pkgbuild.com
nix profile install nixpkgs#tree-sitternixpkgs package indexes · pkgs/by-name/tr/tree-sitter/package.nix · 来源: api.github.com
sudo zypper install tree-sitteropenSUSE Tumbleweed package metadata · tree-sitter · 来源: download.opensuse.org
winget install --id tree-sitter.tree-sitter-cli -eWindows Package Manager source index · tree-sitter.tree-sitter-cli · 来源: cdn.winget.microsoft.com
choco install tree-sitterChocolatey community package catalog · tree-sitter · 来源: community.chocolatey.org
scoop install main/tree-sitterScoop official bucket manifest trees · bucket/tree-sitter.json · 来源: api.github.com
概览
Parser generator tool
历史
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.
安全态势
没有找到 tree-sitter-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tree-sitter | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/tree-sitter/tree-sitter
安装元数据
| 软件包键 | brew:tree-sitter-cli |
|---|---|
| 版本 | 0.27.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/tree-sitter-cli |
| 主页 | https://tree-sitter.github.io |
| 仓库 | https://github.com/tree-sitter/tree-sitter |
| 上游文档 | https://tree-sitter.github.io |
| 许可证 | MIT |
| 源码归档 | https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.26.13.tar.gz |
| 最后更新 | 2026-09-15T23:25:03+02:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-sitter来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.