# clangql mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für clangql in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install clangql
```

  Evidenz: local Homebrew formula metadata

## Paketfakten

- **Paketschlüssel:** brew:clangql
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/clangql>
- **Version:** 0.23.0
- **Quellzusammenfassung:** Run a SQL like language to perform queries on C/C++ files
- **Homepage:** <https://amrdeveloper.github.io/ClangQL/>
- **Repository:** <https://github.com/AmrDeveloper/ClangQL>
- **Upstream-Dokumentation:** <https://amrdeveloper.github.io/ClangQL/>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/AmrDeveloper/ClangQL/archive/refs/tags/0.23.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-15T10:20:12-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- clangql (cli)
- clangql (Alias)

## Abhängigkeiten

- llvm

## Build-Abhängigkeiten

- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.23.0
- Manager aktualisiert: 2026-06-15
- lokale Daten: OK
- Upstream-Repository: https://github.com/AmrDeveloper/ClangQL
- neueste erkannte Version: 0.23.0 (aktuell)
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Details aus der Quelldatenbank

- **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:** head, stable


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/de/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [llvm](https://pkg.so/de/brew/llvm/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [clazy](https://pkg.so/de/brew/clazy/) - Shares pkgdb curated category or tags: clang, cli, cpp, developer-tools, static-analysis.
- [shellcheck](https://pkg.so/de/brew/shellcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [semgrep](https://pkg.so/de/brew/semgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [periphery](https://pkg.so/de/brew/periphery/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [cppcheck](https://pkg.so/de/brew/cppcheck/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [pyright](https://pkg.so/de/brew/pyright/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [eslint](https://pkg.so/de/brew/eslint/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [ktlint](https://pkg.so/de/brew/ktlint/) - Shares pkgdb curated category or tags: cli, developer-tools, static-analysis.
- [gql](https://pkg.so/de/brew/gql/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, gitql.
- [include-what-you-use](https://pkg.so/de/brew/include-what-you-use/) - Local package facts share a topical domain. Shared terms: analysis, clang, cli, code, cpp.
- [esbmc](https://pkg.so/de/brew/esbmc/) - Local package facts share a topical domain. Shared terms: analysis, cli, cpp, developer, developer-tools.

## Combined YAML source

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


## Quellen

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