# 使用 Homebrew, apk, Nix, pacman, scoop 安装 rathole

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

## 安装

```sh
sudo av install brew:rathole
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install rathole
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add rathole
```

  证据: Alpine Linux edge package indexes: rathole from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#rathole
```

  证据: nixpkgs package indexes: pkgs/by-name/ra/rathole/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S rathole
```

  证据: Arch Linux sync databases: rathole from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/rathole
```

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

## 软件包事实

- **软件包键:** brew:rathole
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/rathole>
- **版本:** 0.5.0
- **来源摘要:** Reverse proxy for NAT traversal
- **主页:** <https://github.com/rathole-org/rathole>
- **仓库:** <https://github.com/rathole-org/rathole>
- **上游文档:** <https://github.com/rathole-org/rathole#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/rathole-org/rathole/archive/refs/tags/v0.5.0.tar.gz>
- **最后更新:** 2026-06-19T12:32:43-07:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- rathole (cli)
- rathole (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.5.0
- 管理器更新时间: 2026-06-19
- 本地数据: OK
- 上游仓库: https://github.com/rathole-org/rathole
- 检测到的最新版本: v0.5.0 (当前)

## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service

## 源数据库详情

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

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

- Nix - rathole: normalized package name match | nixpkgs package indexes: pkgs/by-name/ra/rathole/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - rathole - 0.5.0-r0: normalized package name match | Alpine Linux edge package indexes: rathole from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | High-performance reverse proxy for NAT traversal | https://github.com/rapiz1/rathole
- pacman - rathole - 0.5.0-1: normalized package name match | Arch Linux sync databases: rathole from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A reverse proxy for NAT traversal | https://github.com/rapiz1/rathole
- Scoop - main/rathole: normalized package name match | Scoop official bucket manifest trees: bucket/rathole.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [pwnat](https://www.automicvault.com/zh-hans/pkg/brew/pwnat/) - Shares av.db curated category or tags: cli, nat-traversal, networking, proxy, tunneling.
- [cntlm](https://www.automicvault.com/zh-hans/pkg/brew/cntlm/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [connect](https://www.automicvault.com/zh-hans/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [corkscrew](https://www.automicvault.com/zh-hans/pkg/brew/corkscrew/) - Shares av.db curated category or tags: cli, networking, proxy, tunneling.
- [frpc](https://www.automicvault.com/zh-hans/pkg/brew/frpc/) - Shares av.db curated category or tags: cli, networking, proxy, reverse-proxy.
- [frps](https://www.automicvault.com/zh-hans/pkg/brew/frps/) - Shares av.db curated category or tags: cli, networking, proxy, reverse-proxy.
- [geph4](https://www.automicvault.com/zh-hans/pkg/brew/geph4/) - Shares av.db curated category or tags: cli, networking, proxy, rust.
- [gost](https://www.automicvault.com/zh-hans/pkg/brew/gost/) - Shares av.db curated category or tags: cli, networking, proxy, reverse-proxy.
- [openiothub-server](https://www.automicvault.com/zh-hans/pkg/brew/openiothub-server/) - Local package facts share a topical domain. Shared terms: cli, nat, nat-traversal, networking, traversal.

## Combined YAML source

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


## 来源

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