Source

Older downloads are available at https://mosquitto.org/files/

Binary Installation

The binary packages listed below are supported by the Mosquitto project. In many cases Mosquitto is also available directly from official Linux/BSD distributions.

Windows

Older installers can be found at https://mosquitto.org/files/binary/.

See also README-windows.md after installing.

Mac

Mosquitto can be installed from the homebrew project. See brew.sh and then use brew install mosquitto

Linux distributions with snap support

  • snap install mosquitto

Debian

  • Mosquitto is now in Debian proper. There will be a short delay between a new release and it appearing in Debian as part of the normal Debian procedures.
  • There are also Debian repositories provided by the mosquitto project, as described at https://mosquitto.org/2013/01/mosquitto-debian-repository

Raspberry Pi

Mosquitto is available through the main repository.

There are also Debian repositories provided by the mosquitto project, as described at https://mosquitto.org/2013/01/mosquitto-debian-repository/

Ubuntu

Mosquitto is available in the Ubuntu repositories so you can install as with any other package. If you are on an earlier version of Ubuntu or want a more recent version of mosquitto, add the mosquitto-dev PPA to your repositories list - see the link for details. mosquitto can then be installed from your package manager.

  • sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
  • sudo apt-get update

Mosquitto Enhancements

These projects can be used to add extra features to Mosquitto.

  • Management Center: A web UI for managing Mosquitto instances. In particular, this offers a convenient UI for managing clients, groups and roles as in the new Dynamic Security plugin.
  • mosquitto-go-auth: A flexible authentication and authorisation plugin, with many different backends and features.
  • Mosquitto-PHP: A PHP wrapper for the libmosquitto client library, to allow creating MQTT clients in PHP.