Skip to content

Instantly share code, notes, and snippets.

@sidey79
Created January 1, 2020 15:23
Show Gist options
  • Save sidey79/7b433656275b5dc66b14b38f5c40687e to your computer and use it in GitHub Desktop.
Save sidey79/7b433656275b5dc66b14b38f5c40687e to your computer and use it in GitHub Desktop.
Install mqtt-cli on RPI (tested on stretch)
#!/bin/bash
apt-get install default-jre-headless -y
java -version
wget https://github.com/hivemq/mqtt-cli/releases/download/v1.1.1/mqtt-cli_1.1.1_all.deb
apt install ./mqtt-cli_1.1.1_all.deb
rm ./mqtt-cli_1.1.1_all.deb
mqtt --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment