macOS
brew install clangqllocal Homebrew formula metadata
brew
Run a SQL like language to perform queries on C/C++ files. Version 0.23.0 via Homebrew; verified 2026-06-15.
install
brew install clangqllocal Homebrew formula metadata
overview
Run a SQL like language to perform queries on C/C++ files
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
clangql | cli | global executable |
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.
https://github.com/AmrDeveloper/ClangQL
install metadata
| Package key | brew:clangql |
|---|---|
| Version | 0.23.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/clangql |
| Homepage | https://amrdeveloper.github.io/ClangQL/ |
| Repository | https://github.com/AmrDeveloper/ClangQL |
| Upstream docs | https://amrdeveloper.github.io/ClangQL |
| License | MIT |
| Source archive | https://github.com/AmrDeveloper/ClangQL/archive/refs/tags/0.23.0.tar.gz |
| Last updated | 2026-06-15T10:20:12-04:00 |
| Pulse | updated |
| Dependencies | llvm |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clangql |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.