# 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. Also installable with nix: nix profile install nixpkgs#mqttui.

## 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
- **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>
- **Last updated:** 2026-05-17T15:43:10Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mqttui (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.23.0
## 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.


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


## Combined YAML source

View the package source record on GitHub. [combined/mqttui.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mqttui.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
