Automic VaultAutomic Vault

brew

使用 Homebrew 安装 clangql

查看 clangql 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install clangql

local Homebrew formula metadata

概览

软件包摘要

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

命令和别名

  • clangql

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
clangqlcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.23.0
管理器更新时间2026-06-15
本地数据OK
上游当前
检测到的最新版本0.23.0

https://github.com/AmrDeveloper/ClangQL

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:clangql
版本0.23.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/clangql
主页https://amrdeveloper.github.io/ClangQL/
仓库https://github.com/AmrDeveloper/ClangQL
上游文档https://amrdeveloper.github.io/ClangQL
许可证MIT
源码归档https://github.com/AmrDeveloper/ClangQL/archive/refs/tags/0.23.0.tar.gz
最后更新2026-06-15T10:20:12-04:00
Pulseupdated
依赖llvm
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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