# 使用 Homebrew, scoop, winget 安装 gitql

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

## 安装

```sh
sudo av install brew:gitql
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gitql
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:gitql
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gitql>
- **版本:** 2.3.1
- **来源摘要:** Git query language
- **主页:** <https://github.com/filhodanuvem/gitql>
- **仓库:** <https://github.com/filhodanuvem/gitql>
- **上游文档:** <https://github.com/filhodanuvem/gitql#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/filhodanuvem/gitql/archive/refs/tags/v2.3.1.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- gitql (cli)
- gitql (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 2.3.1
- 本地数据: OK
- 上游仓库: https://github.com/filhodanuvem/gitql
- 检测到的最新版本: v2.3.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Gitql is a Go command-line tool that exposes Git repository history through a SQL-like query language. It treats commits and related repository data as queryable tables, with examples such as selecting commit hashes, authors, dates, and messages.

### 项目历史

The repository dates to February 2014, and the README describes Gitql as the author's first Go project. The project positions itself as an experiment rather than a replacement for `git log`, noting that it was created for exploration and inspired by textql.

### 采用历史

Gitql attracted attention as an early and approachable example of applying database-style querying to Git history. Its package-manager presence in Homebrew, Scoop, and winget reflects a developer-tool audience that wants ad hoc repository inspection from a shell.

### 使用方式

Practitioners run `gitql "your query"` or use the Git subcommand form `git ql "your query"` inside a repository. Typical use is read-only filtering, ordering, and projection over commit fields, such as listing authors or finding messages matching a string.

### 为什么软件包爱好者会关心

For package catalogs, Gitql is a compact example of the SQL-for-everything genre applied to version-control metadata. It is useful for discovery and one-off inspection, while its README explicitly avoids promising a full Git replacement.

### 时间线

- 2014: Repository created on GitHub.
- 2016: 1.2.1 release published.
- 2020s: Packaged for Homebrew, Scoop, and winget.

### Related projects

- Gitql is related to Git, textql, and other tools that expose local files or developer metadata through SQL-like query interfaces.

### 来源

- <https://api.github.com/repos/filhodanuvem/gitql>
- <https://api.github.com/repos/filhodanuvem/gitql/releases>
- <https://formulae.brew.sh/formula/gitql>
- <https://github.com/filhodanuvem/gitql>
- <https://github.com/filhodanuvem/gitql/blob/main/tables.md>
- <https://raw.githubusercontent.com/filhodanuvem/gitql/main/README.md>


## 安全说明

没有找到 gitql 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** gitql
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** gql
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Scoop - main/gitql: normalized package name 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: normalized package name match | Windows Package Manager source index: amrdeveloper.gitql from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [ggc](https://www.automicvault.com/zh-hans/pkg/brew/ggc/) - Shares av.db curated category or tags: cli, developer-tools, git, go.
- [git-appraise](https://www.automicvault.com/zh-hans/pkg/brew/git-appraise/) - Shares av.db curated category or tags: cli, developer-tools, git, go.
- [git-get](https://www.automicvault.com/zh-hans/pkg/brew/git-get/) - Shares av.db curated category or tags: cli, developer-tools, git, go.
- [git-hooks-go](https://www.automicvault.com/zh-hans/pkg/brew/git-hooks-go/) - Shares av.db curated category or tags: cli, developer-tools, git, go.
- [gojq](https://www.automicvault.com/zh-hans/pkg/brew/gojq/) - Shares av.db curated category or tags: cli, developer-tools, go, query-language.
- [jet](https://www.automicvault.com/zh-hans/pkg/brew/jet/) - Shares av.db curated category or tags: cli, developer-tools, go, sql.
- [sql-migrate](https://www.automicvault.com/zh-hans/pkg/brew/sql-migrate/) - Shares av.db curated category or tags: cli, developer-tools, go, sql.
- [sqlboiler](https://www.automicvault.com/zh-hans/pkg/brew/sqlboiler/) - Shares av.db curated category or tags: cli, developer-tools, go, sql.
- [fileql](https://www.automicvault.com/zh-hans/pkg/brew/fileql/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, gitql, query.

## Combined YAML source

View the package source record on GitHub. [combined/gitql.yml](https://github.com/automic-vault/db/blob/main/combined/gitql.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
