Install Rust with rustup first.
Use cargo command to install this tool.
cargo
cargo install mqtt-client-cli
``` mqtt-client-cli - A CLI MQTT Client
Usage: mqtt-client-cli [OPTIONS] --host
Options: -H, --host Host. Required -u, --username Username. Optional -p, --password Password. Optional -t, --topic Topic. Optional (Default = "#") -h, --help Print help -V, --version Print version ```