# clangql を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:clangql
```

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

### macOS

- Homebrew (100%):

```sh
brew install clangql
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:clangql
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.23.0
- **ソース概要:** Run a SQL like language to perform queries on C/C++ files
- **ホームページ:** <https://amrdeveloper.github.io/ClangQL/>
- **リポジトリ:** <https://github.com/AmrDeveloper/ClangQL>
- **最終更新:** 2026-06-15T10:20:12-04:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- clangql (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

ClangQL is a Rust CLI that applies a SQL-like query language to C and C++ code through Clang AST data and the GitQL SDK.

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

The repository and crates.io package both appeared in April 2024. The README presents ClangQL as a way to query C/C++ code instead of database files, with examples over functions and globals.

The project has had a rapid 0.x release series on crates.io and GitHub tags. Homebrew currently packages a tagged GitHub archive as clangql 0.23.0, while crates.io metadata lists 0.11.0 as the max crate version.

### 採用の歴史

The README documents both cargo install clangql and brew install clangql. crates.io reported 10,891 total downloads, and Homebrew reported 470 installs over the prior 365 days for the formula.

### 使われ方

Users pass source files, a script, or an inline query and can request rendered, JSON, or CSV output. The examples show SQL-like SELECT, COUNT, DISTINCT, LIKE, and matcher predicates over functions and globals.

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

ClangQL is interesting as a packaging artifact because it combines Rust distribution, libclang availability, and Homebrew bottles for a developer tool whose runtime behavior depends on the local LLVM/Clang stack.

### タイムライン

- 2024: GitHub repository and crates.io crate created.
- 2024: Early 0.2.0 and 0.3.0 GitHub releases published.
- 2025: 0.8.0 through 0.11.0 releases published on GitHub/crates.io.
- 2026: Homebrew formula metadata lists 0.23.0 as stable from a GitHub tag.

### Related projects

- GitQL is the query-language SDK named in the README as ClangQL's foundation.
- LLVM/Clang and libclang are required runtime/build dependencies for parsing C and C++ code.

### ソース

- <https://github.com/AmrDeveloper/ClangQL#readme>
- <https://amrdeveloper.github.io/ClangQL>
- <https://api.github.com/repos/AmrDeveloper/ClangQL>
- <https://api.github.com/repos/AmrDeveloper/ClangQL/releases>
- <https://crates.io/api/v1/crates/clangql>
- <https://formulae.brew.sh/api/formula/clangql.json>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

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


## ソース

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