# Install mqttui with Homebrew, apk, MacPorts, Nix, pacman

Subscribe to a MQTT Topic or publish something quickly from the terminal. Version 0.23.0 via Homebrew; verified 2026-05-17.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mqttui
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mqttui
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:mqttui
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mqttui>
- **Version:** 0.23.0
- **Source summary:** Subscribe to a MQTT Topic or publish something quickly from the terminal
- **Homepage:** <https://github.com/EdJoPaTo/mqttui>
- **Repository:** <https://github.com/EdJoPaTo/mqttui>
- **Upstream docs:** <https://github.com/EdJoPaTo/mqttui#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/EdJoPaTo/mqttui/archive/refs/tags/v0.23.0.tar.gz>
- **Last updated:** 2026-05-17T15:43:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mqttui (cli)
- mqttui (alias)

## Build dependencies

- rust

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.23.0
- Package-manager updated: 2026-05-17
- Local data: ok
- Upstream repository: https://github.com/EdJoPaTo/mqttui
- Upstream latest detected: v0.23.0 (current)
## Project history and usage

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.

### How it is used

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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for mqttui. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

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

## Other Package-Manager Records

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Package ecosystem packages](https://www.automicvault.com/pkg/package-ecosystem-tools/) - Matched package manager, installer, dependency, registry, or publishing metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [mosquitto](https://www.automicvault.com/pkg/brew/mosquitto/) - Shares av.db curated category or tags: cli, mqtt, networking, publish-subscribe.
- [libpaho-mqtt](https://www.automicvault.com/pkg/brew/libpaho-mqtt/) - Shares av.db curated category or tags: cli, mqtt, networking.
- [emqx](https://www.automicvault.com/pkg/brew/emqx/) - Shares av.db curated category or tags: cli, mqtt, networking.
- [lavinmq](https://www.automicvault.com/pkg/brew/lavinmq/) - Shares av.db curated category or tags: cli, mqtt, networking.
- [mongoose](https://www.automicvault.com/pkg/brew/mongoose/) - Shares av.db curated category or tags: cli, mqtt, networking.
- [netshow](https://www.automicvault.com/pkg/brew/netshow/) - Shares av.db curated category or tags: cli, networking, terminal-ui.
- [tcpstat](https://www.automicvault.com/pkg/brew/tcpstat/) - Shares av.db curated category or tags: cli, networking, terminal-ui.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking.

## Combined YAML source

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