# Install zyre with Homebrew

Local Area Clustering for Peer-to-Peer Applications. Version 2.0.1 via Homebrew; verified 2026-06-19.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install zyre
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:zyre
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/zyre>
- **Version:** 2.0.1
- **Source summary:** Local Area Clustering for Peer-to-Peer Applications
- **Homepage:** <https://github.com/zeromq/zyre>
- **Repository:** <https://github.com/zeromq/zyre>
- **Upstream docs:** <https://github.com/zeromq/zyre#readme>
- **License:** MPL-2.0
- **Source archive:** <https://github.com/zeromq/zyre/releases/download/v2.0.1/zyre-2.0.1.tar.gz>
- **Last updated:** 2026-06-19T12:33:05-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- zpinger (cli)
- zpinger (alias)

## Dependencies

- czmq
- zeromq

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.0.1
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://github.com/zeromq/zyre
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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/>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [czmq](https://www.automicvault.com/pkg/brew/czmq/) - Runtime dependency declared by Homebrew.
- [zeromq](https://www.automicvault.com/pkg/brew/zeromq/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dumbpipe](https://www.automicvault.com/pkg/brew/dumbpipe/) - Shares av.db curated category or tags: cli, networking, peer-to-peer.
- [nicotine-plus](https://www.automicvault.com/pkg/brew/nicotine-plus/) - Shares av.db curated category or tags: cli, networking, peer-to-peer.
- [sendme](https://www.automicvault.com/pkg/brew/sendme/) - Shares av.db curated category or tags: cli, networking, peer-to-peer.
- [wush](https://www.automicvault.com/pkg/brew/wush/) - Shares av.db curated category or tags: cli, networking, peer-to-peer.
- [c-ares](https://www.automicvault.com/pkg/brew/c-ares/) - Shares av.db curated category or tags: cli, library, networking.
- [edgevpn](https://www.automicvault.com/pkg/brew/edgevpn/) - Shares av.db curated category or tags: cli, networking, peer-to-peer.
- [gupnp](https://www.automicvault.com/pkg/brew/gupnp/) - Shares av.db curated category or tags: cli, library, networking.
- [zurl](https://www.automicvault.com/pkg/brew/zurl/) - Local package facts share a topical domain. Shared terms: cli, networking, zeromq.
- [croc](https://www.automicvault.com/pkg/brew/croc/) - 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/automic-vault/db/blob/main/combined/zyre.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
