# 使用 Homebrew 安装 openiothub-server

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

## 安装

```sh
sudo av install brew:openiothub-server
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install openiothub-server
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:openiothub-server
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/openiothub-server>
- **版本:** 1.2.25
- **来源摘要:** Server for OpenIoTHub
- **主页:** <https://github.com/OpenIoTHub/server-go>
- **仓库:** <https://github.com/OpenIoTHub/server-go>
- **许可证:** MIT
- **源码归档:** <https://github.com/OpenIoTHub/server-go.git>
- **最后更新:** 2026-07-27T23:46:51+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- openiothub-server (cli)
- server-go (cli)
- openiothub-server (别名)
- server-go (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.25
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/OpenIoTHub/server-go
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

openiothub-server packages server-go, the OpenIoTHub traffic-forwarding server. It is a small Go server for self-hosting the relay side of OpenIoTHub, a platform for reaching network services and IoT devices behind NAT or firewalls.

### 项目历史

The server belongs to the OpenIoTHub ecosystem rather than standing alone as a general tunnel product. The main OpenIoTHub repository describes the platform as a free IoT and private-cloud platform for remote access to services and devices, while the server-go README says ordinary users do not need to deploy this relay unless they want a self-hosted forwarding server.

### 采用历史

The project appears to be niche: its own documentation frames the server as an advanced or optional component, and Homebrew formerly packaged it under the upstream name server-go before exposing it as openiothub-server. Distribution support is practical rather than broad-community historical evidence: the upstream README documents Homebrew, Snap, Scoop, deb/rpm downloads, manual binaries, shell install, and Docker.

### 使用方式

Operators run openiothub-server when they want their OpenIoTHub gateway to connect to a self-built relay. The configuration covers TCP, UDP/KCP, TLS, gRPC, HTTP, HTTPS, a login key, certificates, logging, public host information, and optional Redis persistence for HTTP proxy configuration.

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

For package nerds, the interesting detail is the naming and deployment shape: a Go tunnel/relay server published through several binary channels, renamed by Homebrew from server-go to openiothub-server, and useful mostly to users who already understand the rest of the OpenIoTHub client and gateway stack.

### Related projects

- The closest related OpenIoTHub components are the OpenIoTHub client app and gateway-go, the LAN-side gateway that receives access requests.

### 来源

- <https://docs.iothub.cloud/server/>
- <https://formulae.brew.sh/formula/openiothub-server>
- <https://github.com/OpenIoTHub/OpenIoTHub>
- <https://github.com/OpenIoTHub/server-go>


## 安全说明

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openiothub-server
- **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.
- [localtunnel](https://pkg.so/zh-hans/brew/localtunnel/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [libcoap](https://pkg.so/zh-hans/brew/libcoap/) - Shares pkgdb curated category or tags: cli, iot, networking.
- [pgrok](https://pkg.so/zh-hans/brew/pgrok/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [jprq](https://pkg.so/zh-hans/brew/jprq/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [ptunnel](https://pkg.so/zh-hans/brew/ptunnel/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [cloudflared](https://pkg.so/zh-hans/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking, tunneling.
- [coturn](https://pkg.so/zh-hans/brew/coturn/) - Shares pkgdb curated category or tags: cli, nat-traversal, networking, server.
- [coredns](https://pkg.so/zh-hans/brew/coredns/) - Shares pkgdb curated category or tags: cli, go, networking, server.
- [gateway-go](https://pkg.so/zh-hans/brew/gateway-go/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, go, iot, nat, networking.
- [rathole](https://pkg.so/zh-hans/brew/rathole/) - 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/openiothub-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/openiothub-server.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
