# 使用 Homebrew 安装 lavinmq

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lavinmq
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lavinmq
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/lavinmq>
- **版本:** 2.9.1
- **来源摘要:** Message broker implementing the AMQP 0-9-1 and MQTT protocols
- **主页:** <https://lavinmq.com>
- **仓库:** <https://github.com/cloudamqp/lavinmq>
- **上游文档:** <https://lavinmq.com>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/cloudamqp/lavinmq/archive/refs/tags/v2.9.1.tar.gz>
- **最后更新:** 2026-07-01T13:01:58Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- lavinmq (cli)
- lavinmqctl (cli)
- lavinmqperf (cli)
- lavinmq (别名)
- lavinmqctl (别名)
- lavinmqperf (别名)

## 依赖

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

## 构建依赖

- coreutils
- crystal
- help2man

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.9.1
- 管理器更新时间: 2026-07-01
- 本地数据: OK
- 上游仓库: https://github.com/cloudamqp/lavinmq
- 检测到的最新版本: v2.9.1 (当前)
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- 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:** 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


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [coreutils](https://pkg.so/zh-hans/brew/coreutils/) - Build dependency declared by Homebrew.
- [crystal](https://pkg.so/zh-hans/brew/crystal/) - Build dependency declared by Homebrew.
- [help2man](https://pkg.so/zh-hans/brew/help2man/) - Build dependency declared by Homebrew.
- [rabbitmq](https://pkg.so/zh-hans/brew/rabbitmq/) - Shares pkgdb curated category or tags: amqp, cli, message-broker, messaging, networking.
- [mosquitto](https://pkg.so/zh-hans/brew/mosquitto/) - Shares pkgdb curated category or tags: cli, message-broker, messaging, mqtt, networking.
- [libpaho-mqtt](https://pkg.so/zh-hans/brew/libpaho-mqtt/) - Shares pkgdb curated category or tags: cli, messaging, mqtt, networking.
- [emqx](https://pkg.so/zh-hans/brew/emqx/) - Shares pkgdb curated category or tags: cli, messaging, mqtt, networking.
- [czmq](https://pkg.so/zh-hans/brew/czmq/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [signal-cli](https://pkg.so/zh-hans/brew/signal-cli/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [nats-server](https://pkg.so/zh-hans/brew/nats-server/) - Shares pkgdb curated category or tags: cli, messaging, networking.
- [telegram-downloader](https://pkg.so/zh-hans/brew/telegram-downloader/) - Shares pkgdb curated category or tags: cli, messaging, networking.

## Combined YAML source

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