Installing Mosquitto on Windows
- Download the installer
- Run the setup
- Note where it gets installed, e.g. C:\Program Files\mosquitto
- Add the mosquitto executables to PATH with either:
- Advanced System Settings -> Environment Variables -> System Variables -> Path -> Edit, and add the mosquitto folder path to the end
- setx path "%path%;C:\Program Files\mosquitto" (from administrator command prompt) - careful, a mistake here may delete existing PATH values
- Re-open the command prompt after updating the PATH
- Verify you can run mosquitto:
- mosquitto
You should see something like Opening ipv6 listen socket on port 1883.