pkg.soopen package index

brew / rank 715

Install tree-sitter-cli with Homebrew, apk, apt, dnf, pacman, winget, chocolatey, MacPorts, Nix, zypper, scoop

Parser generator tool. Version 0.26.11 via Homebrew; verified 2026-07-12. Also installable with debian: sudo apt install tree-sitter-cli.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tree-sitter-cli

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tree-sitter

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

Linux

Alpine Linux apkverified · 92%
sudo apk add tree-sitter-cli

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

Debian aptverified · 92%
sudo apt install tree-sitter-cli

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

Fedora dnfverified · 92%
sudo dnf install tree-sitter-cli

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

Arch Linux pacmanverified · 92%
sudo pacman -S tree-sitter-cli

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

Nixverified · 92%
nix profile install nixpkgs#tree-sitter

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

openSUSE zypperverified · 92%
sudo zypper install tree-sitter

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

Windows

Windows Package Managerverified · 92%
winget install --id tree-sitter.tree-sitter-cli -e

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

Chocolateyverified · 92%
choco install tree-sitter

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

Scoopverified · 92%
scoop install main/tree-sitter

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

overview

Package summary

Parser generator tool

Commands and aliases

  • tree-sitter

history

Project history and usage

tree-sitter-cli is the command-line front end for Tree-sitter, a parser generator and incremental parsing library for programming tools.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for tree-sitter-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tree-sitterexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version0.26.11
manager updated2026-07-12
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tree-sitter-cli
Version0.26.11
Package managerHomebrew
Homepagehttps://tree-sitter.github.io
Repositoryhttps://github.com/tree-sitter/tree-sitter
Last updated2026-07-12T13:09:53Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • 7 provides
  • installed executable or alias match
  • Matched by: 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 dependencies
  • installed executable or alias match
  • Matched by: 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 dependencies
  • installed executable or alias match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation