macOS
brew install mosquittolocal Homebrew formula metadata
sudo port install mosquittoMacPorts ports tree · net/mosquitto/Portfile · source: api.github.com
brew
Message broker implementing the MQTT protocol. Version 2.1.2 via Homebrew; verified 2026-06-06.
install
brew install mosquittolocal Homebrew formula metadata
sudo port install mosquittoMacPorts ports tree · net/mosquitto/Portfile · source: api.github.com
sudo apk add mosquittoAlpine Linux edge package indexes · mosquitto · source: dl-cdn.alpinelinux.org
sudo apt install libmosquitto-devDebian stable package indexes · libmosquitto-dev · source: deb.debian.org
sudo dnf install mosquittoFedora Rawhide package metadata · mosquitto · source: dl.fedoraproject.org
nix profile install nixpkgs#mosquittonixpkgs package indexes · pkgs/by-name/mo/mosquitto/package.nix · source: api.github.com
sudo pacman -S mosquittoArch Linux sync databases · mosquitto · source: geo.mirror.pkgbuild.com
sudo zypper install libmosquitto1openSUSE Tumbleweed package metadata · libmosquitto1 · source: download.opensuse.org
scoop install main/mosquittoScoop official bucket manifest trees · bucket/mosquitto.json · source: api.github.com
winget install --id EclipseFoundation.Mosquitto -eWindows Package Manager source index · EclipseFoundation.Mosquitto · source: cdn.winget.microsoft.com
overview
Message broker implementing the MQTT protocol
history
Eclipse Mosquitto is an open-source MQTT broker and client-tool project written by Roger A. Light. The project implements server support for MQTT 5.0, 3.1.1, and 3.1, and also ships C and C++ client libraries plus command-line utilities such as mosquitto_pub, mosquitto_sub, mosquitto_rr, mosquitto_ctrl, mosquitto_signal, and mosquitto_passwd.
Mosquitto's software-paper milestone is Roger A. Light's 2017 Journal of Open Source Software article, "Mosquitto: server and client implementation of the MQTT protocol." The JOSS metadata places the project in the Internet of Things, MQTT, pub/sub, and messaging categories. The project homepage explains the broader use case: MQTT is a lightweight publish/subscribe protocol suited to IoT messaging for low-power sensors, mobile devices, embedded computers, and microcontrollers.
The broker is used as a small, easily deployed MQTT server for development, testing, gateways, and production IoT systems; the bundled clients are widely used for smoke tests, scripts, and examples. Within package managers, Mosquitto is the default lightweight MQTT broker option and complements Eclipse Paho, which focuses on MQTT client libraries. The project is part of the Eclipse Foundation's IoT ecosystem, with development driven by Cedalo.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/mosquitto/mosquitto.confmosquitto.confpath passed with --config-file/-cCredential-bearing paths to review before unattended agent runs.
password_file path configured in mosquitto.confexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mosquitto | cli | global executable | |
mosquitto_ctrl | cli | global executable | |
mosquitto_db_dump | cli | global executable | |
mosquitto_passwd | cli | global executable | |
mosquitto_pub | cli | global executable | |
mosquitto_rr | cli | global executable | |
mosquitto_signal | cli | global executable | |
mosquitto_sub | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:mosquitto |
|---|---|
| Version | 2.1.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mosquitto |
| Homepage | https://mosquitto.org/ |
| Repository | https://github.com/eclipse-mosquitto/mosquitto |
| Upstream docs | https://mosquitto.org/documentation |
| License | EPL-1.0 OR BSD-3-Clause |
| Source archive | https://mosquitto.org/files/source/mosquitto-2.1.2.tar.gz |
| Last updated | 2026-06-06T11:29:13Z |
| Pulse | updated |
| Dependencies | cjson, libwebsockets, openssl@3 |
| Build dependencies | cmake, pkgconf |
| Uses from macOS | libedit, sqlite |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | mosquitto has been installed with a default configuration file. You can make changes to the configuration by editing: $HOMEBREW_PREFIX/etc/mosquitto/mosquitto.conf |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mosquitto |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmosquitto-dev 2.0.21-1
MQTT version 5.0/3.1.1/3.1 client library, development files
sudo apt install libmosquitto-devlibmosquitto1 2.0.21-1
MQTT version 5.0/3.1.1/3.1 client library
sudo apt install libmosquitto1libmosquittopp-dev 2.0.21-1
MQTT version 3.1 client C++ library, development files
sudo apt install libmosquittopp-devlibmosquittopp1 2.0.21-1
MQTT version 5.0/3.1.1/3.1 client C++ library
sudo apt install libmosquittopp1mosquitto 2.0.21-1
MQTT version 5.0/3.1.1/3.1 compatible message broker
sudo apt install mosquittomosquitto-clients 2.0.21-1
Mosquitto command line MQTT clients
sudo apt install mosquitto-clientsmosquitto-dev 2.0.21-1
Development files for Mosquitto
sudo apt install mosquitto-devmosquitto
nix profile install nixpkgs#mosquittolibmosquitto-dev 2.0.18-1build3
MQTT version 5.0/3.1.1/3.1 client library, development files
sudo apt install libmosquitto-devlibmosquitto1 2.0.18-1build3
MQTT version 5.0/3.1.1/3.1 client library
sudo apt install libmosquitto1libmosquittopp-dev 2.0.18-1build3
MQTT version 3.1 client C++ library, development files
sudo apt install libmosquittopp-devlibmosquittopp1 2.0.18-1build3
MQTT version 5.0/3.1.1/3.1 client C++ library
sudo apt install libmosquittopp1mosquitto 2.0.18-1build3
MQTT version 5.0/3.1.1/3.1 compatible message broker
sudo apt install mosquittomosquitto-clients 2.0.18-1build3
Mosquitto command line MQTT clients
sudo apt install mosquitto-clientsmosquitto-dev 2.0.18-1build3
Development files for Mosquitto
sudo apt install mosquitto-devmosquitto 2.1.2-r1
open source MQTT broker
sudo apk add mosquittosource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.