# 使用 Homebrew 安装 lavinmq

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install lavinmq
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:lavinmq
- **软件包管理器:** Homebrew
- **版本:** 2.9.1
- **来源摘要:** Message broker implementing the AMQP 0-9-1 and MQTT protocols
- **主页:** <https://lavinmq.com>
- **仓库:** <https://github.com/cloudamqp/lavinmq>
- **最后更新:** 2026-07-01T13:01:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.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

## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
