# 使用 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
- **版本:** 2.0.12
- **来源摘要:** Framework to smartly mirror git repositories
- **主页:** <https://github.com/mricon/grokmirror>
- **仓库:** <https://github.com/mricon/grokmirror>
- **最后更新:** 2026-05-21T11:31:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.0.12
## 项目历史与用法

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。


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

- 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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
