# 使用 Homebrew 安装 gateway-go

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

## 安装

```sh
sudo av install brew:gateway-go
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install gateway-go
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:gateway-go
- **软件包管理器:** Homebrew
- **版本:** 2.0.12
- **来源摘要:** GateWay Client for OpenIoTHub
- **主页:** <https://github.com/OpenIoTHub>
- **仓库:** <https://github.com/OpenIoTHub/gateway-go>
- **最后更新:** 2026-07-27T16:47:22+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- gateway-go (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

gateway-go is the LAN-side gateway client for OpenIoTHub. It runs inside a private network, displays a QR code for pairing with an OpenIoTHub client, and then receives remote access requests for local ports and devices.

### 项目历史

The repository was created in February 2020 and the early release stream produced many 0.1.x releases in the same year. The README frames the tool as an OpenIoTHub gateway comparable to frpc, with packages and images for routers, NAS devices, Docker, Snap, Homebrew, Scoop, and deb/rpm users.

### 采用历史

Official installation notes cover Homebrew, Snapcraft, Scoop, deb/rpm packages, Docker, OpenWrt/Entware/Optware, and NAS-oriented Docker installs. That breadth is the main adoption signal in official sources: gateway-go is packaged for always-on edge devices as much as developer laptops.

### 使用方式

The common workflow is to run gateway-go on the LAN, scan the displayed QR code with the OpenIoTHub client, and then access network ports and services from the client side. The README also documents per-package configuration file locations for Homebrew, Snap, and deb/rpm installations.

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

gateway-go is significant as a Go networking package that bridges developer package managers and appliance-style deployment targets. Its package surface spans Homebrew and Snap while also targeting OpenWrt and NAS environments, a pattern common in remote-access and homelab tooling.

### 时间线

- 2020: Public GitHub repository created.
- 2020: Early v0.1.x releases began.
- 2020: v0.1.64 released during the early release stream.
- 2026: v2.0.x releases were present in the official release history.

### Related projects

- gateway-go is part of the OpenIoTHub project family and is described in relation to OpenIoTHub clients. The README also compares its role to frpc-style LAN gateway software.

### 来源

- <https://docs.iothub.cloud/gateway/index.html>
- <https://github.com/OpenIoTHub/gateway-go>
- <https://github.com/OpenIoTHub/gateway-go/releases>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/gateway-go/gateway-go.yaml, /root/snap/gateway-go/current/gateway-go.yaml
- macOS: /usr/local/etc/gateway-go/gateway-go.yaml

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
