# 使用 Homebrew, Nix, scoop 安装 gnirehtet

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

## 安装

```sh
sudo av install brew:gnirehtet
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gnirehtet
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#gnirehtet
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/gnirehtet
```

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

## 软件包事实

- **软件包键:** brew:gnirehtet
- **软件包管理器:** Homebrew
- **版本:** 2.5.1
- **来源摘要:** Reverse tethering tool for Android
- **主页:** <https://github.com/Genymobile/gnirehtet>
- **仓库:** <https://github.com/Genymobile/gnirehtet>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gnirehtet (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Gnirehtet is Genymobile's reverse-tethering tool for Android devices. The project routes a connected Android device through a computer's network connection over adb without requiring root access on either side.

### 项目历史

The project grew out of Genymobile's Android tooling work and presents itself as a small, cross-platform utility rather than a desktop network manager. Its README documents Java and Rust distributions, adb requirements, an APK installed on the device, and a relay process on the host.

### 采用历史

Gnirehtet spread through developer package managers because it solves a specific lab and testing problem: giving USB-connected Android devices network access from the host. Homebrew, Nix, and Scoop packaging make it easy to install alongside adb on macOS, Linux, and Windows workstations.

### 使用方式

Practitioners use gnirehtet when an Android device needs internet access through a development machine, especially during testing on controlled networks or devices without usable Wi-Fi or cellular data. The simple path is `gnirehtet run`; split commands let users run the relay, install the APK, and start or stop clients per device.

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

Gnirehtet is a classic package-manager utility: tiny scope, awkward to replace with built-in OS features, and useful only when the exact networking edge case appears. Its value is that it turns adb reverse-tethering setup into a reproducible installable command.

### 时间线

- 2017: Arch User Repository metadata shows third-party packaging for Gnirehtet.
- 2022: Forum and support references show users applying Gnirehtet to airplane-mode and USB reverse-tethering cases.
- 2024: Homebrew test discussion records the formula using the installed binary for validation.

### Related projects

- Gnirehtet sits near Android SDK Platform Tools, adb reverse, Genymotion's Android tooling ecosystem, and host-side network testing workflows.

### 来源

- <https://formulae.brew.sh/formula/gnirehtet>
- <https://github.com/Genymobile/gnirehtet>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - gnirehtet: normalized package name match | nixpkgs package indexes: pkgs/by-name/gn/gnirehtet/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/gnirehtet: normalized package name match | Scoop official bucket manifest trees: bucket/gnirehtet.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/gnirehtet.yml](https://github.com/mxcl/pkgdb/blob/main/combined/gnirehtet.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
