# 使用 Homebrew 安装 zyre

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

## 安装

```sh
sudo av install brew:zyre
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zyre
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:zyre
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zyre>
- **版本:** 2.0.1
- **来源摘要:** Local Area Clustering for Peer-to-Peer Applications
- **主页:** <https://github.com/zeromq/zyre>
- **仓库:** <https://github.com/zeromq/zyre>
- **许可证:** MPL-2.0
- **源码归档:** <https://github.com/zeromq/zyre/releases/download/v2.0.1/zyre-2.0.1.tar.gz>
- **最后更新:** 2026-07-10T09:36:50-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- zpinger (cli)
- zpinger (别名)

## 依赖

- czmq
- zeromq

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

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

Zyre is a ZeroMQ-family C framework for local-area peer discovery, presence, and reliable group messaging. It lets nearby processes find each other over a LAN, join groups, and exchange messages without a central broker.

### 项目历史

The public zeromq/zyre repository was created on 2012-10-17 inside the broader ZeroMQ ecosystem. Its README presents Zyre as local-area clustering for peer-to-peer applications, built around UDP beacons for discovery and ZeroMQ Dealer-Router messaging for reliable peer interconnection.

Zyre is closely tied to ZeroMQ's RFC process. The README points to RFC 36, the ZeroMQ Realtime Exchange protocol, for discovery and heartbeating; that stable RFC defines how peers discover each other, organize into groups, and send events over ZMTP.

The project inherited common ZeroMQ community practices: MPL 2.0 source, C4-style contribution process, CLASS C style guidance, generated API documentation, self-tests, and example tools such as zpinger for seeing peers on a local network.

### 采用历史

Zyre adoption sits in the ZeroMQ niche rather than in general application networking. The README lists use cases such as local service discovery, clustering services on the same Ethernet network, smart-device control, and multi-user mobile applications, which are exactly the places where brokerless local discovery is useful.

The ZeroMQ Guide's distributed-computing chapter frames discovery, presence, and connectivity as recurring problems for room-scale, WiFi, and proximity networks. Zyre packages one opinionated answer to that problem for C and ZeroMQ users, so its significance is strongest for developers already comfortable with ZeroMQ patterns.

### 使用方式

A Zyre application creates a node, starts it, receives event messages, joins or leaves named groups, whispers to individual peers, and shouts to groups. The README describes incoming events as zmsg_t messages delivered by zyre_recv, with the first frame identifying event type.

The bundled zpinger utility is the package's practical command-line face: running it on two or more machines is the README's smoke test for local discovery. Library users build the same primitives into local clusters, device-control networks, and peer-aware services.

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

Zyre is package-nerd significant because it is a small leaf in a layered messaging stack: libsodium, libzmq, czmq, then Zyre. Packaging it preserves a higher-level ZeroMQ pattern that would otherwise be reimplemented badly in each local-discovery application.

It is also a good example of protocol-backed packaging. The library is not just helper code; it is an implementation of a published ZeroMQ RFC, which gives downstreams a stable conceptual contract even if their only visible executable is zpinger.

### 时间线

- 2012-10-17: Public zeromq/zyre GitHub repository is created.
- 2010s: Zyre grows as the ZeroMQ local-area discovery and clustering layer, with tagged public releases and generated README/API documentation.
- 2014: RFC 36/ZRE carries 2009-2014 iMatix copyright text and is published as the stable ZeroMQ Realtime Exchange protocol used by Zyre.
- 2020s: The repository remains active and the README continues to document Linux, macOS, and Windows builds plus zpinger-based local-network testing.

### Related projects

- Related projects and protocols include ZeroMQ/libzmq, CZMQ, libsodium, ZMTP, RFC 36/ZRE, RFC 22/C4, RFC 21/CLASS, zmsg, zactor, zyre_event, zpinger, and other brokerless service-discovery systems such as ZeroConf-style local discovery.

### 来源

- <https://api.github.com/repos/zeromq/zyre>
- <https://github.com/zeromq/zyre>
- <https://raw.githubusercontent.com/zeromq/zyre/master/README.md>
- <https://rfc.zeromq.org/spec/36/>
- <https://zguide.zeromq.org/docs/chapter8/>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zyre
- **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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [zeromq](https://pkg.so/zh-hans/brew/zeromq/) - Runtime dependency declared by Homebrew.
- [czmq](https://pkg.so/zh-hans/brew/czmq/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Shares pkgdb curated category or tags: cli, library, networking.
- [libnet](https://pkg.so/zh-hans/brew/libnet/) - Shares pkgdb curated category or tags: cli, library, networking.
- [libproxy](https://pkg.so/zh-hans/brew/libproxy/) - Shares pkgdb curated category or tags: cli, library, networking.
- [xmlrpc-c](https://pkg.so/zh-hans/brew/xmlrpc-c/) - Shares pkgdb curated category or tags: cli, library, networking.
- [proxygen](https://pkg.so/zh-hans/brew/proxygen/) - Shares pkgdb curated category or tags: cli, library, networking.
- [gupnp](https://pkg.so/zh-hans/brew/gupnp/) - Shares pkgdb curated category or tags: cli, library, networking.
- [dumbpipe](https://pkg.so/zh-hans/brew/dumbpipe/) - Shares pkgdb curated category or tags: cli, networking, peer-to-peer.
- [zurl](https://pkg.so/zh-hans/brew/zurl/) - Local package facts share a topical domain. Shared terms: cli, networking, zeromq.
- [croc](https://pkg.so/zh-hans/brew/croc/) - Local package facts share a topical domain. Shared terms: cli, networking, peer, peer-to-peer.
- [portal](https://pkg.so/zh-hans/brew/portal/) - Local package facts share a topical domain. Shared terms: cli, networking, peer, peer-to-peer.

## Combined YAML source

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