# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/gateway-go>
- **版本:** 2.0.12
- **来源摘要:** GateWay Client for OpenIoTHub
- **主页:** <https://github.com/OpenIoTHub>
- **仓库:** <https://github.com/OpenIoTHub/gateway-go>
- **上游文档:** <https://github.com/OpenIoTHub>
- **许可证:** MIT
- **源码归档:** <https://github.com/OpenIoTHub/gateway-go/archive/refs/tags/v2.0.12.tar.gz>
- **最后更新:** 2026-07-27T16:47:22+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- gateway-go (cli)
- gateway-go (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.0.12
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/OpenIoTHub/gateway-go
- 检测到的最新版本: v2.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
## 源数据库详情

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [wireguard-go](https://pkg.so/zh-hans/brew/wireguard-go/) - Shares pkgdb curated category or tags: cli, go, networking, tunnel.
- [mihomo](https://pkg.so/zh-hans/brew/mihomo/) - Shares pkgdb curated category or tags: cli, go, networking, tunnel.
- [gost](https://pkg.so/zh-hans/brew/gost/) - Shares pkgdb curated category or tags: cli, go, networking, tunnel.
- [openiothub-server](https://pkg.so/zh-hans/brew/openiothub-server/) - Shares pkgdb curated category or tags: cli, go, iot, networking.
- [zoro](https://pkg.so/zh-hans/brew/zoro/) - Shares pkgdb curated category or tags: cli, nat, networking, tunnel.
- [cloudflared](https://pkg.so/zh-hans/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking, tunnel.
- [tailscale](https://pkg.so/zh-hans/brew/tailscale/) - Shares pkgdb curated category or tags: cli, networking, remote-access.
- [telnet](https://pkg.so/zh-hans/brew/telnet/) - Shares pkgdb curated category or tags: cli, networking, remote-access.
- [shellinabox](https://pkg.so/zh-hans/brew/shellinabox/) - Local package facts share a topical domain. Shared terms: access, cli, networking, remote, remote-access.
- [soapyremote](https://pkg.so/zh-hans/brew/soapyremote/) - Local package facts share a topical domain. Shared terms: access, cli, networking, remote, remote-access.

## 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
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
