# ts_query_ls を Homebrew, Nix でインストール

ts_query_ls のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ts_query_ls
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ts_query_ls
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#ts_query_ls
```

  証拠: nixpkgs package indexes: pkgs/by-name/ts/ts_query_ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:ts_query_ls
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.16.0
- **ソース概要:** LSP implementation for Tree-sitter's query files
- **ホームページ:** <https://github.com/ribru17/ts_query_ls>
- **リポジトリ:** <https://github.com/ribru17/ts_query_ls>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ts_query_ls (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.16.0
## プロジェクトの歴史と使われ方

ts_query_ls is a language-server implementation for Tree-sitter query files. Its README documents configuration, diagnostics, formatting, CI checking, linting, profiling, editor setup, and Tree-sitter-specific query analysis.

### プロジェクトの歴史

The project focuses on the tooling gap around .scm query files used by Tree-sitter grammars and editor integrations. Instead of being a general language server, it specializes in Tree-sitter query syntax, parser discovery, capture and predicate validation, query-module imports, and compatibility with query workspace layouts.

### 採用の歴史

GitHub release history shows an active 3.x line with contributors beyond the original author. Release notes mention Homebrew packaging documentation in v3.14.0, VS Code client support in v3.12.0, Neovim documentation updates in v3.16.0, and ongoing dependency updates for Tree-sitter.

### 使われ方

Users configure the server through initialization or a `.tsqueryrc.json` discovered in the workspace or ancestor directories. Outside editor LSP usage, the same binary can format query directories, run CI checks, lint captures and predicates without parser objects, and profile slow query patterns.

### パッケージ好きにとっての重要性

The package matters in a narrow but real developer-tools niche: people maintaining Tree-sitter grammars, Neovim queries, Zed queries, and editor runtime queries need validation before errors appear inside an editor or runtime. Packaging it for Homebrew and Nix makes that workflow available as a normal CLI rather than only as editor configuration.

### タイムライン

- 2025: v3.12.0 release notes included bare-bones VS Code client support.
- 2025: v3.14.0 release notes documented Homebrew packaging and crates.io publishing work.
- 2026: v3.16.0 updated Neovim config docs, bumped Tree-sitter, and added a check option to ignore specific languages.

### Related projects

- ts_query_ls is built around Tree-sitter query files and related parser artifacts.
- It is adjacent to Neovim, VS Code, Zed, and other editor ecosystems that rely on Tree-sitter queries for highlighting, captures, injections, folds, and related language features.

### ソース

- <https://github.com/ribru17/ts_query_ls#readme>
- <https://github.com/ribru17/ts_query_ls/releases>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - ts_query_ls: normalized package name match | nixpkgs package indexes: pkgs/by-name/ts/ts_query_ls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/ts_query_ls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ts_query_ls.yml)


## ソース

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