# 使用 npm 安装 tree-sitter-cli

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

## 安装

```sh
sudo av install npm:tree-sitter-cli
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g tree-sitter-cli
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:tree-sitter-cli
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/tree-sitter-cli>
- **版本:** 0.26.9
- **来源摘要:** CLI for generating fast incremental parsers
- **主页:** <https://github.com/tree-sitter/tree-sitter#readme>
- **仓库:** <https://github.com/tree-sitter/tree-sitter>
- **上游文档:** <https://github.com/tree-sitter/tree-sitter#readme>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/tree-sitter-cli/-/tree-sitter-cli-0.26.9.tgz>
- **问题跟踪器:** <https://github.com/tree-sitter/tree-sitter/issues>
- **发布时间:** 2026-05-19T18:08:43.899Z
- **最后更新:** 2026-06-28T16:11:55.160Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- tree-sitter (cli)

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: install
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.26.9
- 管理器更新时间: 2026-06-28
- 本地数据: OK
- 上游仓库: https://github.com/tree-sitter/tree-sitter
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.26.9
- **Version Count:** 182
- **Maintainers:** ahlinc, maxbrunsfeld, amaanq, tclem, queerviolet, rewinfrey, robrix, joshvera
- **Author:** Max Brunsfeld
- **Publisher:** GitHub Actions
- **Engines:** Node: >=12.0.0
- **Integrity:** sha512-7l+U1RmazPVe+yA/JiX80GFOILnL/j24GbawamIzNQC8UlINrcyECbaWGaG1wuq4j/m0DQTx7Uu4r0iW9Ao1BQ==
- **Shasum:** d2a5285d7bbbddd6528dc597134a93e0680aae0a
- **Unpacked Size:** 21,854
- **File Count:** 0
- **Created At:** 2016-10-09T21:59:08.056Z
- **Latest Published At:** 2026-05-19T18:08:43.899Z
- **Modified At:** 2026-05-19T18:08:44.206Z

## 其他软件包管理器记录

- Debian apt - tree-sitter-cli - 0.22.6-6+b1: normalized package name match | Debian stable package indexes: tree-sitter-cli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line for Tree-sitter parsers | https://tree-sitter.github.io/tree-sitter/
- Ubuntu apt - tree-sitter-cli - 0.20.8-5: normalized package name match | Ubuntu 24.04 LTS package indexes: tree-sitter-cli from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | command-line for Tree-sitter parsers
- apk - tree-sitter-cli - 0.26.7-r0: normalized package name match | Alpine Linux edge package indexes: tree-sitter-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Incremental parsing system for programming tools (CLI) | https://tree-sitter.github.io/
- dnf - tree-sitter-cli - 0.26.9-1.fc45: normalized package name match | Fedora Rawhide package metadata: tree-sitter-cli from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | CLI tool for developing, testing, and using Tree-sitter parsers | https://crates.io/crates/tree-sitter-cli
- pacman - tree-sitter-cli - 0.26.9-1: normalized package name match | Arch Linux sync databases: tree-sitter-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI tool for developing, testing, and using Tree-sitter parsers | https://github.com/tree-sitter/tree-sitter
- winget - tree-sitter.tree-sitter-cli: normalized package name match | Windows Package Manager source index: tree-sitter.tree-sitter-cli from https://cdn.winget.microsoft.com/cache/source.msix
- MacPorts - tree-sitter: installed executable or alias match | MacPorts ports tree: devel/tree-sitter/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - librust-tree-sitter-cli-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-cli-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | command-line for Tree-sitter parsers - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - librust-tree-sitter-config-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-config-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | user configuration of tree-sitter's CLI programs - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - librust-tree-sitter-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | bindings to the tree-sitter parsing library - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - librust-tree-sitter-highlight-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-highlight-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | perform syntax highlighting with tree-sitter - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - librust-tree-sitter-loader-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-loader-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | locates, builds, and loads tree-sitter grammars - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - librust-tree-sitter-tags-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: librust-tree-sitter-tags-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for extracting tag information - Rust source code | https://tree-sitter.github.io/tree-sitter/
- Debian apt - libtree-sitter-dev - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: libtree-sitter-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | incremental parsing system for programming tools (development files) | https://tree-sitter.github.io/tree-sitter/
- Debian apt - libtree-sitter0.22 - 0.22.6-6+b1: installed executable or alias match | Debian stable package indexes: libtree-sitter0.22 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | incremental parsing system for programming tools | https://tree-sitter.github.io/tree-sitter/
- Nix - tree-sitter: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/tr/tree-sitter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [tree-sitter-cli](https://www.automicvault.com/zh-hans/pkg/brew/tree-sitter-cli/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, developer, developer-tools, parser, sitter.
- [specmatic](https://www.automicvault.com/zh-hans/pkg/npm/specmatic/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, fast.
- [sitemapper](https://www.automicvault.com/zh-hans/pkg/npm/sitemapper/) - Local package facts share a topical domain. Shared terms: cli, control, developer, developer-tools, fast.
- [tree-sitter-cli](https://www.automicvault.com/zh-hans/pkg/brew/tree-sitter-cli/) - Same normalized package name exists in another local package ecosystem.

## 来源

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
