# gql mit Homebrew, MacPorts, Nix, scoop, winget installieren

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

## Installation

```sh
sudo av install brew:gql
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install gql
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install gql
```

  Evidenz: MacPorts ports tree: devel/gql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gql
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/gq/gql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/gitql
```

  Evidenz: Scoop official bucket manifest trees: bucket/gitql.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id amrdeveloper.gitql -e
```

  Evidenz: Windows Package Manager source index: amrdeveloper.gitql from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:gql
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/gql>
- **Version:** 0.43.0
- **Quellzusammenfassung:** Git Query language is a SQL like language to perform queries on .git files
- **Homepage:** <https://amrdeveloper.github.io/GQL/>
- **Repository:** <https://github.com/AmrDeveloper/GQL>
- **Upstream-Dokumentation:** <https://amrdeveloper.github.io/GQL/>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/AmrDeveloper/GQL/archive/refs/tags/0.43.0.tar.gz>
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- gitql (cli)
- gitql (Alias)

## Build-Abhängigkeiten

- cmake
- 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.43.0
- lokale Daten: OK
- Upstream-Repository: https://github.com/AmrDeveloper/GQL
- neueste erkannte Version: 0.43.0 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

GitQL is a SQL-like query language and CLI for querying local `.git` data. The project also exposes the GitQL SDK, an in-memory query engine that can be adapted to other data sources.

### Projektgeschichte

The repository history begins on 2023-06-02 with commits implementing the base structure and early SELECT, LIMIT, and OFFSET statements. The README describes GitQL as a tool built on the GitQL SDK for SQL-like queries over local Git repositories.

Over time the project expanded from a Git-history query CLI into a reusable SDK with customizable schema, data provider, standard library, type system, value system, and component assembly documentation.

### Adoptionsgeschichte

GitQL entered package-manager listings as a Rust-era developer tool for exploring repository metadata without exporting it to a database. The supplied metadata lists Homebrew, MacPorts, Nix, Scoop, and winget package names.

The official README also links related SDK-based tools, showing adoption of the query engine idea beyond Git data: LLQL, ClangQL, FileQL, and PyQL.

### Wie es verwendet wird

Users run SQL-like statements against tables such as commits, branches, refs, tags, and diff changes. README examples include grouping commits by author, filtering refs, ordering branches, and aggregating file-change counts.

The SDK use case is broader: developers can define a schema and provider for a different source of data while reusing GitQL's parser, type system, functions, and query execution pieces.

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

GitQL sits in the same package-manager niche as `jq`, `sqlite-utils`, and other exploratory CLI tools: it gives maintainers and developers an ad hoc query surface over data they already have locally.

Its packaging across desktop package managers matters because Git repositories are local working-set data; installing a single CLI is simpler than standing up an indexed service just to ask a one-off history question.

### Zeitleiste

- 2023-06-02: Repository history begins with the first GitQL commits.
- 2023: README license copyright names Amr Hesham.
- 2024-05-18: Project discussion for release 0.19.0 records parser, type-checker, and function work.
- 2025: README copyright range extends through 2025 and lists SDK-based related tools including PyQL.
- 2026-03-09: Repository history records version and dependency update work.

### Related projects

- LLQL applies the GitQL SDK idea to LLVM IR/BC.
- ClangQL applies SQL-like querying to C and C++ source code files.
- FileQL applies it to file-system metadata.
- PyQL applies it to Python source code files.

### Quellen

- <https://amrdeveloper.github.io/GQL>
- <https://amrdeveloper.github.io/GQL/setup>
- <https://github.com/AmrDeveloper/GQL>
- <https://github.com/AmrDeveloper/GQL/discussions/100>


## 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:** gql
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** gitql
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Nix - gql: normalized package name match | nixpkgs package indexes: pkgs/by-name/gq/gql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - gql: normalized package name match | MacPorts ports tree: devel/gql/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/gitql: installed executable or alias match | Scoop official bucket manifest trees: bucket/gitql.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - amrdeveloper.gitql: installed executable or alias match | Windows Package Manager source index: amrdeveloper.gitql from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [cmake](https://pkg.so/de/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [gh](https://pkg.so/de/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [jq](https://pkg.so/de/brew/jq/) - Shares pkgdb curated category or tags: cli, developer-tools, query-language.
- [libgit2](https://pkg.so/de/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [glab](https://pkg.so/de/brew/glab/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-lfs](https://pkg.so/de/brew/git-lfs/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [lazygit](https://pkg.so/de/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [bat](https://pkg.so/de/brew/bat/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-filter-repo](https://pkg.so/de/brew/git-filter-repo/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [clangql](https://pkg.so/de/brew/clangql/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, gitql.
- [fileql](https://pkg.so/de/brew/fileql/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, gitql.
- [fselect](https://pkg.so/de/brew/fselect/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, files, like.

## Combined YAML source

View the package source record on GitHub. [combined/gql.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gql.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
- external package-manager database matches
- cross-ecosystem install command graph
