Automic VaultAutomic Vault

brew

Install clangql with Homebrew

Run a SQL like language to perform queries on C/C++ files. Version 0.23.0 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install clangql

local Homebrew formula metadata

overview

Package summary

Run a SQL like language to perform queries on C/C++ files

Commands and aliases

  • clangql

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 1 build dependencies.

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
clangqlcliglobal executable

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-07-08
manager version0.23.0
manager updated2026-06-15
local dataok
upstreamcurrent
latest detected0.23.0

https://github.com/AmrDeveloper/ClangQL

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:clangql
Version0.23.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/clangql
Homepagehttps://amrdeveloper.github.io/ClangQL/
Repositoryhttps://github.com/AmrDeveloper/ClangQL
Upstream docshttps://amrdeveloper.github.io/ClangQL
LicenseMIT
Source archivehttps://github.com/AmrDeveloper/ClangQL/archive/refs/tags/0.23.0.tar.gz
Last updated2026-06-15T10:20:12-04:00
Pulseupdated
Dependenciesllvm
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameclangql
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment