# 使用 Homebrew, apt 安装 grokmirror

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

## 安装

```sh
sudo av install brew:grokmirror
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install grokmirror
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install grokmirror
```

  证据: Debian stable package indexes: grokmirror from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:grokmirror
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/grokmirror>
- **版本:** 2.0.12
- **来源摘要:** Framework to smartly mirror git repositories
- **主页:** <https://github.com/mricon/grokmirror>
- **仓库:** <https://github.com/mricon/grokmirror>
- **上游文档:** <https://github.com/mricon/grokmirror#readme>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://files.pythonhosted.org/packages/26/91/af8831185ef4e5bef5d210039ab67abdc8c27a09a585d3963a10cf774789/grokmirror-2.0.12.tar.gz>
- **最后更新:** 2026-05-21T11:31:50Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- grok-bundle (cli)
- grok-dumb-pull (cli)
- grok-fsck (cli)
- grok-manifest (cli)
- grok-pi-piper (cli)
- grok-pull (cli)
- grok-bundle (别名)
- grok-dumb-pull (别名)
- grok-fsck (别名)
- grok-manifest (别名)
- grok-pi-piper (别名)
- grok-pull (别名)

## 依赖

- certifi
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.0.12
- 管理器更新时间: 2026-05-21
- 本地数据: OK
- 上游仓库: https://github.com/mricon/grokmirror
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

grokmirror is a Linux Foundation/kernel.org utility for efficiently mirroring large collections of Git repositories.

### 项目历史

The project was written to make replication of large Git repository collections more efficient. Its upstream README explains that an origin publishes a JSON manifest, and replicas use that manifest to decide which repositories to clone or update.

The name comes from kernel.org wordplay: `grok` is `korg` reversed, and the tool was developed at kernel.org to grok Git mirroring. Its utilities include `grok-manifest` for publishing manifests, `grok-pull` for replicas, and `grok-fsck` for repository checking and maintenance.

### 采用历史

kernel.org publicly directed would-be mirrors to use grokmirror in 2013, replacing less efficient rsync-style mirroring of Git repository trees. The same approach later fit other public Git archive collections where a manifest-driven replica is cheaper than blind directory synchronization.

### 使用方式

An origin server generates a manifest from bare Git repositories and serves it over HTTP. A replica runs `grok-pull`, commonly from cron or a daemon, to fetch the manifest and update only repositories that changed.

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

For package nerds, grokmirror is infrastructure plumbing: it is the kind of package that keeps enormous source trees reproducible and mirrorable. It embodies the Git-native answer to the old `rsync a tree of repositories` instinct.

### 时间线

- 2013: kernel.org announced grokmirror for public mirroring of kernel.org repositories.
- 2013: The public GitHub mirror was created.
- 2020: Upstream documentation described grokmirror 2.0 and object storage repositories.
- 2020s: Homebrew, Debian, and Ubuntu packaged grokmirror for repository-mirroring operators.

### Related projects

- Related projects include Git, git.kernel.org, kernel.org repository mirrors, public-inbox/lore.kernel.org archive mirroring, and Git hosting systems that publish large repository sets.

### 来源

- <https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git>
- <https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/plain/README.rst>
- <https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/plain/setup.py>
- <https://www.kernel.org/mirroring-kernelorg-repositories.html>
- <https://www.kernel.org/pub/scm/README>


## 安全说明

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


## 源数据库详情

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

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

- Debian apt - grokmirror - 2.0.12-1: normalized package name match | Debian stable package indexes: grokmirror from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | framework to smartly mirror git repositories | https://git.kernel.org/cgit/utils/grokmirror/grokmirror.git
- Ubuntu apt - grokmirror - 2.0.11-2: normalized package name match | Ubuntu 24.04 LTS package indexes: grokmirror from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | framework to smartly mirror git repositories | https://git.kernel.org/cgit/utils/grokmirror/grokmirror.git


## 相关链接

- [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.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [git-get](https://www.automicvault.com/zh-hans/pkg/brew/git-get/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [git-grab](https://www.automicvault.com/zh-hans/pkg/brew/git-grab/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [gitbatch](https://www.automicvault.com/zh-hans/pkg/brew/gitbatch/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [gitnr](https://www.automicvault.com/zh-hans/pkg/brew/gitnr/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [gitup](https://www.automicvault.com/zh-hans/pkg/brew/gitup/) - Shares av.db curated category or tags: cli, developer-tools, git, repository-management, version-control.
- [gource](https://www.automicvault.com/zh-hans/pkg/brew/gource/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [karn](https://www.automicvault.com/zh-hans/pkg/brew/karn/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [lucky-commit](https://www.automicvault.com/zh-hans/pkg/brew/lucky-commit/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, git, version-control.
- [git-delete-merged-branches](https://www.automicvault.com/zh-hans/pkg/brew/git-delete-merged-branches/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.
- [git-machete](https://www.automicvault.com/zh-hans/pkg/brew/git-machete/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, control, developer, developer-tools, git.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- 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
