pkg.soopen package index

brew / 排名 643

使用 Homebrew, apk, apt, dnf, pacman, winget, chocolatey, MacPorts, Nix, zypper, scoop 安装 tree-sitter-cli

查看 tree-sitter-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tree-sitter-cli

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tree-sitter

MacPorts ports tree · devel/tree-sitter/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tree-sitter-cli

Alpine Linux edge package indexes · tree-sitter-cli · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install tree-sitter-cli

Debian stable package indexes · tree-sitter-cli · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tree-sitter-cli

Fedora Rawhide package metadata · tree-sitter-cli · 来源: dl.fedoraproject.org

Arch Linux pacman已验证 · 92%
sudo pacman -S tree-sitter-cli

Arch Linux sync databases · tree-sitter-cli · 来源: geo.mirror.pkgbuild.com

Nix已验证 · 92%
nix profile install nixpkgs#tree-sitter

nixpkgs package indexes · pkgs/by-name/tr/tree-sitter/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install tree-sitter

openSUSE Tumbleweed package metadata · tree-sitter · 来源: download.opensuse.org

Windows

Windows Package Manager已验证 · 92%
winget install --id tree-sitter.tree-sitter-cli -e

Windows Package Manager source index · tree-sitter.tree-sitter-cli · 来源: cdn.winget.microsoft.com

Chocolatey已验证 · 92%
choco install tree-sitter

Chocolatey community package catalog · tree-sitter · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/tree-sitter

Scoop official bucket manifest trees · bucket/tree-sitter.json · 来源: api.github.com

概览

软件包摘要

Parser generator tool

命令和别名

  • tree-sitter

历史

项目历史与用法

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.

时间线

  • 2017: Official documentation points to a GitHub Universe talk on Tree-sitter.
  • 2018: Official documentation points to FOSDEM and Strange Loop talks.
  • 2026: The GitHub repository lists v0.26.10 as a latest release and shows large downstream use.

Related projects

  • Official and third-party language bindings expose Tree-sitter to C#, Go, Haskell, Java, JavaScript, Kotlin, Python, Rust, Swift, Zig, and other languages.
  • Upstream parsers include grammars for Bash, C, C++, Go, HTML, JavaScript, JSON, Python, Rust, TypeScript, and many other languages.

安全态势

尚未找到受保护工具覆盖

没有找到 tree-sitter-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/tree-sitter/config.json~/.config/tree-sitter/config.json./tree-sitter.json
Windows
%APPDATA%\tree-sitter\config.json%USERPROFILE%\AppData\Roaming\tree-sitter\config.json.\tree-sitter.json

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tree-sittercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-09-19
管理器版本0.27.0
管理器更新时间2026-09-15
本地数据OK
上游当前
检测到的最新版本v0.26.13

https://github.com/tree-sitter/tree-sitter

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametree-sitter-cli
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-cli
  • Section: devel
  • Architecture: amd64
  • Source Package: tree-sitter
  • 2 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tree-sitter-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

tree-sitter-cli 0.20.8-5

command-line for Tree-sitter parsers

sudo apt install tree-sitter-cli
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: rust-tree-sitter-cli
  • 3 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tree-sitter-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

tree-sitter-cli 0.26.7-r1

Incremental parsing system for programming tools (CLI)

https://tree-sitter.github.io/

sudo apk add tree-sitter-cli
  • License: MIT
  • Architecture: x86_64
  • Source Package: tree-sitter
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tree-sitter-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

tree-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-cli
  • License: MIT AND (MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: rust-tree-sitter-cli
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tree-sitter-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

tree-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-cli
  • License: MIT
  • Architecture: x86_64
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tree-sitter-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
winget95%

tree-sitter.tree-sitter-cli

winget install --id tree-sitter.tree-sitter-cli -e
  • normalized package name match
  • 匹配方式:Tree Sitter Cli
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: tree-sitter.tree-sitter-cli from https://cdn.winget.microsoft.com/cache/source.msix
MacPorts94%

tree-sitter

sudo port install tree-sitter
  • installed executable or alias match
  • 匹配方式:Tree Sitter
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/tree-sitter/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 32 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-cli-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 5 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-config-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 3 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 5 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-highlight-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 15 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-loader-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

librust-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-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: tree-sitter
  • 5 依赖
  • 7 提供
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-tree-sitter-tags-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libtree-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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tree-sitter
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtree-sitter-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libtree-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.22
  • Section: libs
  • Architecture: amd64
  • Source Package: tree-sitter
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Tree Sitter
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtree-sitter0.22 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

tree-sitter

nix profile install nixpkgs#tree-sitter
  • installed executable or alias match
  • 匹配方式:Tree Sitter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tr/tree-sitter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation