ts-pack-cli 1.9.0-rc.2

CLI tool for tree-sitter language pack - manage parser downloads and run code intelligence
ts-pack-cli-1.9.0-rc.2 is not a library.

tree-sitter-language-pack — CLI

Bindings

Command-line tool for managing tree-sitter language parsers with download utilities.

Installation

cargo install ts-pack-cli

Or install via Homebrew:

brew install kreuzberg-dev/tap/ts-pack

Quick Start

# Initialize a language-pack.toml config
ts-pack init

# List available languages
ts-pack list

# Download specific languages for offline use
ts-pack download python rust javascript

# Check download status
ts-pack status

# Add languages to your config
ts-pack add python rust javascript

# Clone parser sources
ts-pack clone

API Reference

Commands

  • ts-pack init -- initialize a language-pack.toml config in the current directory
  • ts-pack list -- list all available language names
  • ts-pack download <lang>... -- download specific parsers for offline use
  • ts-pack status -- show download status of all configured languages
  • ts-pack add <lang>... -- add languages to language-pack.toml
  • ts-pack clone -- clone parser source repositories (for development)
  • ts-pack parse <file> -- parse a file and print the syntax tree
  • ts-pack process <file> -- extract code intelligence from a file

Global Flags

  • --config <path> -- path to language-pack.toml (default: current directory)
  • --verbose / -v -- enable verbose output
  • --help -- show help for any command

For full documentation, see kreuzberg.dev.

License

MIT -- see LICENSE for details.


Part of tree-sitter-language-pack -- A comprehensive collection of tree-sitter language parsers with polyglot bindings.

Part of Kreuzberg, Inc

  • Kreuzberg — document intelligence: text, tables, metadata from 90+ formats with optional OCR.
  • Kreuzberg Cloud — managed extraction API with SDKs, dashboards, and observability.
  • kreuzcrawl — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
  • html-to-markdown — fast, lossless HTML→Markdown engine.
  • liter-llm — universal LLM API client with native bindings for 14 languages and 143 providers.
  • Discord — community, roadmap, announcements.