mqtt-cli is a feature-rich MQTT Command Line Interface.
![](./img/pubsub.gif)
Getting Started •
Publish •
Subscribe •
Shell •
Test •
How to Contribute
- Publish a message
- Quick start:
mqtt pub -t your-topic -m "your message" -h your-mqtt-broker.com
- Further documentation
- Subscribe to topics and receive output directly on the console
- Quick start:
mqtt sub -t your-topic -h your-mqtt-broker.com
- Further documentation
- Enter the mqtt-cli shell mode to access more MQTT functionality
- Quick start:
mqtt sh
- Further documentation
- Run tests against a broker to find out its features and limitations
- Quick start:
mqtt test -h your-mqtt-broker.com
- Further documentation
- If you want to request a feature or report a bug, please create a GitHub Issue using one of the provided templates
- If you want to make a contribution to the project, please have a look at the contribution guide