mqttui(1)
π¦ NAME β mqttui(1) π¦
okay bestie, welcome to mqttui(1), straight outta the General Commands Manual, and it's literally here to subscribe to a MQTT Topic or publish something quickly from the terminal. That's the whole assignment, no cap. π
β¨ SYNOPSIS β¨
mqttui [--qos] [--payload-size-limit] [-b|--broker] [-u|--username] [--password] [-i|--client-id] [--ca-cert] [--client-cert] [--client-private-key] [--insecure] [-h|--help] [-V|--version] [TOPIC] [subcommands]
π DESCRIPTION π
okay so same energy as the NAME section: mqttui is your terminal bestie for subscribing to a MQTT Topic or publishing something quickly from the terminal. That's it, that's the vibe. π
π OPTIONS π
--qos <LEVEL>[default:2] β Maximum Quality of Service (QoS) for subscriptions and publishing.
The lower Quality of Service level for publisher and subscriber is delivered from broker to subscriber. So subscribing with 0 will never receive a 1 or 2. Publishing with 2 will be received as 1 when subscribed with 1.
0: at most once (fire and forget) π₯1: at least once (acknowledged delivery with potential duplicates)2: exactly once (assured delivery without duplicates)
May also be specified with the MQTTUI_QOS environment variable.
--payload-size-limit <PAYLOAD_SIZE_LIMIT>[default:8000] β Truncate the payloads stored to the given size.
Payloads bigger than that are truncated and not inspected for formats like JSON or MessagePack. Only their beginning up to the specified amount of bytes can be viewed. Increasing this value might result in higher memory consumption especially over time. May also be specified with the MQTTUI_PAYLOAD_SIZE_LIMIT environment variable. π
-h,--helpβ Print help (see a summary with'-h').-V,--versionβ Print version.[TOPIC][default:#] β Topic to watch. May also be specified with theMQTTUI_TOPICenvironment variable. π
π MQTT CONNECTION π
-b,--broker <URL>[default:mqtt://localhost] β URL which represents how to connect to the MQTT broker.
Examples: mqtt://localhost mqtt://localhost:1883 mqtts://localhost mqtts://localhost:8883 ws://localhost/path ws://localhost:9001/path wss://localhost/path wss://localhost:9001/path
May also be specified with the MQTTUI_BROKER environment variable. π
-u,--username <STRING>β Username to access the mqtt broker.
Anonymous access when not supplied. May also be specified with the MQTTUI_USERNAME environment variable.
--password <STRING>β Password to access the mqtt broker.
β οΈ Consider using a connection with TLS to the broker. Otherwise the password will be transported in plaintext. Passing the password via command line is insecure as the password can be read from the history! You should pass it via environment variable. π
May also be specified with the MQTTUI_PASSWORD environment variable.
-i,--client-id <STRING>β Specify the client id to connect with. May also be specified with theMQTTUI_CLIENTIDenvironment variable.--ca-cert <FILEPATH>β Path to a trusted CA certificate PEM file for verifying the broker.
The CA certificate has to be a X.509 v3 certificate since rustls does not support the less secure v1 certificates. See: https://github.com/rustls/rustls/issues/2364
May also be specified with the MQTTUI_CA_CERTIFICATE environment variable. π§
--client-cert <FILEPATH>β Path to the TLS client certificate file.
Used together with --client-private-key to enable TLS client authentication. The file has to be a DER-encoded X.509 certificate serialized to PEM. May also be specified with the MQTTUI_CLIENT_CERTIFICATE environment variable.
--client-private-key <FILEPATH>β Path to the TLS client private key file.
Used together with --client-cert to enable TLS client authentication. The file has to be a DER-encoded ASN.1 file in PKCS#8 form serialized to PEM. May also be specified with the MQTTUI_CLIENT_PRIVATE_KEY environment variable. π
--insecureβ Allow insecure TLS connections.
π§ SUBCOMMANDS π§
mqttui-clean-retained(1)β Clean retained messages from the broker. π§Όmqttui-log(1)β Log values from subscribed topics to stdout.mqttui-read-one(1)β Wait for the first message on the given topic(s) and return its payload to stdout.mqttui-publish(1)β Publish a value quickly. β‘
β VERSION β
v0.24.0 β periodt. π
and that's the whole mqttui(1) page, bestie π«Ά the footer source/version is mqttui 0.24.0, and the original footer didn't show a date, so we are absolutely not inventing one β no cap. πΈ
π¦ where this page comes from
- arch rolling: mqttui 0.24.0-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms