# Install lavinmq with Homebrew

Message broker implementing the AMQP 0-9-1 and MQTT protocols. Version 2.9.1 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:lavinmq
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install lavinmq
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:lavinmq
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/lavinmq>
- **Version:** 2.9.1
- **Source summary:** Message broker implementing the AMQP 0-9-1 and MQTT protocols
- **Homepage:** <https://lavinmq.com>
- **Repository:** <https://github.com/cloudamqp/lavinmq>
- **Upstream docs:** <https://lavinmq.com/documentation>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/cloudamqp/lavinmq/archive/refs/tags/v2.9.1.tar.gz>
- **Last updated:** 2026-07-01T13:01:58Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- lavinmq (cli)
- lavinmqctl (cli)
- lavinmqperf (cli)
- lavinmq (alias)
- lavinmqctl (alias)
- lavinmqperf (alias)

## Dependencies

- bdw-gc
- lz4
- openssl@3
- pcre2

## Build dependencies

- coreutils
- crystal
- help2man

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.9.1
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/cloudamqp/lavinmq
- Upstream latest detected: v2.9.1 (current)
## Project history and usage

LavinMQ is an Apache-2.0 message broker from CloudAMQP, written in Crystal and aimed at AMQP 0-9-1 and MQTT workloads. It belongs to the practical RabbitMQ-adjacent world of queue servers, but its package-manager appeal is that it packages a comparatively small, fast broker with a CLI and benchmarking tool.

### Project history

The public GitHub repository was created on May 3, 2017. Early public release artifacts include v0.3.2 on August 23, 2018, followed by a long pre-1.0 series before v1.0.0 was published on March 31, 2023. The project reached v2.9.1 on July 1, 2026.

### Adoption history

LavinMQ's adoption path is tied to CloudAMQP's managed messaging background and to packaging for ordinary service deployment. The official README documents Debian/Ubuntu, Fedora, Arch Linux AUR, Homebrew, Docker, Docker Compose, Windows via WSL, and source builds, which places it in the same operational lane as other infrastructure daemons distributed through both OS packages and containers.

### How it is used

The server runs as `lavinmq` with a data directory, while `lavinmqctl` talks to its control socket and `lavinmqperf` supports benchmarking. Official docs and README material emphasize AMQP client compatibility, MQTT support, Docker deployment, and minimal setup.

### Why package nerds care

For package nerds, LavinMQ is notable because it turns a message broker into a small Crystal-built formula with service-style configuration rather than a sprawling JVM-era broker install. Its Homebrew formula is especially useful for local AMQP/MQTT development and for testing queue behavior without pulling in a heavier stack.

### Timeline

- 2017: Public GitHub repository created
- 2018: v0.3.2 release published
- 2023: v1.0.0 release published
- 2026: v2.9.1 release published

### Related projects

- RabbitMQ is the obvious protocol-adjacent reference point for AMQP 0-9-1 workflows. CloudAMQP also maintains a LavinMQ Kubernetes operator and LavinMQ benchmark repository, both linked from the official README.

### Sources

- <https://api.github.com/repos/cloudamqp/lavinmq>
- <https://api.github.com/repos/cloudamqp/lavinmq/releases>
- <https://github.com/cloudamqp/lavinmq>
- <https://github.com/cloudamqp/lavinmq-benchmark>
- <https://github.com/cloudamqp/lavinmq-operator>
- <https://lavinmq.com/documentation>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- 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

- Unix: /etc/lavinmq/lavinmq.ini
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** lavinmq
- **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

- [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.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://www.automicvault.com/pkg/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [coreutils](https://www.automicvault.com/pkg/brew/coreutils/) - Build dependency declared by Homebrew.
- [crystal](https://www.automicvault.com/pkg/brew/crystal/) - Build dependency declared by Homebrew.
- [help2man](https://www.automicvault.com/pkg/brew/help2man/) - Build dependency declared by Homebrew.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, message-broker, messaging, networking.
- [rabbitmq](https://www.automicvault.com/pkg/brew/rabbitmq/) - Shares av.db curated category or tags: amqp, cli, message-broker, messaging, networking.
- [emqx](https://www.automicvault.com/pkg/brew/emqx/) - Shares av.db curated category or tags: cli, messaging, mqtt, networking.
- [libpaho-mqtt](https://www.automicvault.com/pkg/brew/libpaho-mqtt/) - Shares av.db curated category or tags: cli, messaging, mqtt, networking.
- [mosquitto](https://www.automicvault.com/pkg/brew/mosquitto/) - Shares av.db curated category or tags: cli, message-broker, messaging, mqtt, networking.
- [czmq](https://www.automicvault.com/pkg/brew/czmq/) - Shares av.db curated category or tags: cli, messaging, networking.
- [ejabberd](https://www.automicvault.com/pkg/brew/ejabberd/) - Shares av.db curated category or tags: cli, messaging, networking.
- [memcacheq](https://www.automicvault.com/pkg/brew/memcacheq/) - Shares av.db curated category or tags: cli, messaging, networking, queue.

## Combined YAML source

View the package source record on GitHub. [combined/lavinmq.yml](https://github.com/automic-vault/db/blob/main/combined/lavinmq.yml)


## Sources

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