# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 mqttui

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

## 安装

```sh
sudo av install brew:mqttui
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mqttui
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mqttui
```

  证据: MacPorts ports tree: net/mqttui/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mqttui
```

  证据: Alpine Linux edge package indexes: mqttui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#mqttui
```

  证据: nixpkgs package indexes: pkgs/by-name/mq/mqttui/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mqttui
```

  证据: Arch Linux sync databases: mqttui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:mqttui
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mqttui>
- **版本:** 0.23.0
- **来源摘要:** Subscribe to a MQTT Topic or publish something quickly from the terminal
- **主页:** <https://github.com/EdJoPaTo/mqttui>
- **仓库:** <https://github.com/EdJoPaTo/mqttui>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/EdJoPaTo/mqttui/archive/refs/tags/v0.23.0.tar.gz>
- **最后更新:** 2026-05-17T15:43:10Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mqttui (cli)
- mqttui (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.23.0
- 管理器更新时间: 2026-05-17
- 本地数据: OK
- 上游仓库: https://github.com/EdJoPaTo/mqttui
- 检测到的最新版本: v0.23.0 (当前)
## 项目历史与用法

mqttui is a Rust terminal client by EdJoPaTo for quick MQTT inspection and publishing. Its own README frames the project as a small, fast alternative to heavier MQTT viewers and command-line clients: the author had used MQTT Explorer for its overview, compared HiveMQ's mqtt-cli and Mosquitto's bundled mosquitto_sub/mosquitto_pub, and then built a terminal-oriented tool aimed at quickly watching or publishing MQTT traffic.

### 使用方式

In practice mqttui is used both interactively and in scripts. The README documents the default terminal UI for subscribing to all topics or a named topic, a publish subcommand with retained-message support and stdin input, a log mode for streaming multiple topics to stdout, a read-one mode for shell scripts, and helpers for clearing retained topics. Its package-manager niche is the MQTT operations/debugging corner: lighter than a desktop MQTT browser, friendlier for repeated terminal work than raw Mosquitto commands, and packaged across Homebrew, Alpine, Arch, MacPorts, Nix, and other ecosystems.

### 来源

- <https://formulae.brew.sh/formula/mqttui>
- <https://github.com/EdJoPaTo/mqttui>
- <https://github.com/EdJoPaTo/mqttui/blob/main/Cargo.toml>


## 安全说明

没有找到 mqttui 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mqttui
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - mqttui: normalized package name match | nixpkgs package indexes: pkgs/by-name/mq/mqttui/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mqttui - 0.23.0-r0: normalized package name match | Alpine Linux edge package indexes: mqttui from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Subscribe to a MQTT Topic or publish something quickly from the terminal | https://github.com/EdJoPaTo/mqttui
- apk - mqttui-bash-completion - 0.23.0-r0: normalized package name match | Alpine Linux edge package indexes: mqttui-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for mqttui | https://github.com/EdJoPaTo/mqttui
- apk - mqttui-fish-completion - 0.23.0-r0: normalized package name match | Alpine Linux edge package indexes: mqttui-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for mqttui | https://github.com/EdJoPaTo/mqttui
- apk - mqttui-zsh-completion - 0.23.0-r0: normalized package name match | Alpine Linux edge package indexes: mqttui-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for mqttui | https://github.com/EdJoPaTo/mqttui
- pacman - mqttui - 0.23.0-1: normalized package name match | Arch Linux sync databases: mqttui from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Subscribe to a MQTT Topic or publish something quickly from the terminal | https://github.com/EdJoPaTo/mqttui
- MacPorts - mqttui: normalized package name match | MacPorts ports tree: net/mqttui/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Package ecosystem packages](https://pkg.so/zh-hans/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [mosquitto](https://pkg.so/zh-hans/brew/mosquitto/) - Shares pkgdb curated category or tags: cli, mqtt, networking, publish-subscribe.
- [libpaho-mqtt](https://pkg.so/zh-hans/brew/libpaho-mqtt/) - Shares pkgdb curated category or tags: cli, mqtt, networking.
- [mongoose](https://pkg.so/zh-hans/brew/mongoose/) - Shares pkgdb curated category or tags: cli, mqtt, networking.
- [emqx](https://pkg.so/zh-hans/brew/emqx/) - Shares pkgdb curated category or tags: cli, mqtt, networking.
- [netshow](https://pkg.so/zh-hans/brew/netshow/) - Shares pkgdb curated category or tags: cli, networking, terminal-ui.
- [lavinmq](https://pkg.so/zh-hans/brew/lavinmq/) - Shares pkgdb curated category or tags: cli, mqtt, networking.
- [tcpstat](https://pkg.so/zh-hans/brew/tcpstat/) - Shares pkgdb curated category or tags: cli, networking, terminal-ui.
- [c-ares](https://pkg.so/zh-hans/brew/c-ares/) - Shares pkgdb curated category or tags: cli, networking.
- [mqtt](https://pkg.so/zh-hans/npm/mqtt/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, mqtt, networking, publish, subscribe.

## Combined YAML source

View the package source record on GitHub. [combined/mqttui.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mqttui.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
- external package-manager database matches
- cross-ecosystem install command graph
