Thanks to visit codestin.com
Credit goes to lib.rs

Installing the command-line executable

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install mqtt-cli

It will make the mqtt-cli command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall mqtt-cli uninstalls.

Back to the crate overview.