Automic VaultAutomic Vault

brew

Install mosquitto with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

Message broker implementing the MQTT protocol. Version 2.1.2 via Homebrew; verified 2026-06-06.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mosquitto

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install mosquitto

MacPorts ports tree · net/mosquitto/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add mosquitto

Alpine Linux edge package indexes · mosquitto · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libmosquitto-dev

Debian stable package indexes · libmosquitto-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install mosquitto

Fedora Rawhide package metadata · mosquitto · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#mosquitto

nixpkgs package indexes · pkgs/by-name/mo/mosquitto/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S mosquitto

Arch Linux sync databases · mosquitto · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libmosquitto1

openSUSE Tumbleweed package metadata · libmosquitto1 · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/mosquitto

Scoop official bucket manifest trees · bucket/mosquitto.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id EclipseFoundation.Mosquitto -e

Windows Package Manager source index · EclipseFoundation.Mosquitto · source: cdn.winget.microsoft.com

overview

Package summary

Message broker implementing the MQTT protocol

Commands and aliases

  • mosquitto
  • mosquitto_ctrl
  • mosquitto_db_dump
  • mosquitto_passwd
  • mosquitto_pub
  • mosquitto_rr
  • mosquitto_signal
  • mosquitto_sub

history

Project history and usage

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.

Project history

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.

How it is used

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

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
/etc/mosquitto/mosquitto.conf
Unix
mosquitto.confpath passed with --config-file/-c

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
password_file path configured in mosquitto.conf

executables

Installed executables

CommandKindExposureNote
mosquittocliglobal executable
mosquitto_ctrlcliglobal executable
mosquitto_db_dumpcliglobal executable
mosquitto_passwdcliglobal executable
mosquitto_pubcliglobal executable
mosquitto_rrcliglobal executable
mosquitto_signalcliglobal executable
mosquitto_subcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.1.2
manager updated2026-06-06
local dataok
upstreamnot checked
latest detectednot detected

https://mosquitto.org/

install metadata

Package metadata

Package keybrew:mosquitto
Version2.1.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mosquitto
Homepagehttps://mosquitto.org/
Repositoryhttps://github.com/eclipse-mosquitto/mosquitto
Upstream docshttps://mosquitto.org/documentation
LicenseEPL-1.0 OR BSD-3-Clause
Source archivehttps://mosquitto.org/files/source/mosquitto-2.1.2.tar.gz
Last updated2026-06-06T11:29:13Z
Pulseupdated
Dependenciescjson, libwebsockets, openssl@3
Build dependenciescmake, pkgconf
Uses from macOSlibedit, sqlite
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicedeclared
Caveatsmosquitto 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 details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemosquitto
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmosquitto-dev 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client library, development files

https://mosquitto.org/

sudo apt install libmosquitto-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 1 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquitto-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquitto1 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client library

https://mosquitto.org/

sudo apt install libmosquitto1
  • Section: libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquitto1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquittopp-dev 2.0.21-1

MQTT version 3.1 client C++ library, development files

https://mosquitto.org/

sudo apt install libmosquittopp-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquittopp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmosquittopp1 2.0.21-1

MQTT version 5.0/3.1.1/3.1 client C++ library

https://mosquitto.org/

sudo apt install libmosquittopp1
  • Section: libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmosquittopp1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto 2.0.21-1

MQTT version 5.0/3.1.1/3.1 compatible message broker

https://mosquitto.org/

sudo apt install mosquitto
  • Section: net
  • Architecture: amd64
  • 10 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto-clients 2.0.21-1

Mosquitto command line MQTT clients

https://mosquitto.org/

sudo apt install mosquitto-clients
  • Section: net
  • Architecture: amd64
  • Source Package: mosquitto
  • 3 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto-clients from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mosquitto-dev 2.0.21-1

Development files for Mosquitto

https://mosquitto.org/

sudo apt install mosquitto-dev
  • Section: devel
  • Architecture: all
  • Source Package: mosquitto
  • 1 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mosquitto-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mosquitto

nix profile install nixpkgs#mosquitto
  • normalized package name match
  • Matched by: Mosquitto
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/mo/mosquitto/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmosquitto-dev 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client library, development files

https://mosquitto.org/

sudo apt install libmosquitto-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 1 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquitto-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquitto1 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client library

https://mosquitto.org/

sudo apt install libmosquitto1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquitto1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquittopp-dev 2.0.18-1build3

MQTT version 3.1 client C++ library, development files

https://mosquitto.org/

sudo apt install libmosquittopp-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquittopp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmosquittopp1 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 client C++ library

https://mosquitto.org/

sudo apt install libmosquittopp1
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: mosquitto
  • 2 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmosquittopp1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto 2.0.18-1build3

MQTT version 5.0/3.1.1/3.1 compatible message broker

https://mosquitto.org/

sudo apt install mosquitto
  • Section: universe/net
  • Architecture: amd64
  • 10 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto-clients 2.0.18-1build3

Mosquitto command line MQTT clients

https://mosquitto.org/

sudo apt install mosquitto-clients
  • Section: universe/net
  • Architecture: amd64
  • Source Package: mosquitto
  • 3 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto-clients from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

mosquitto-dev 2.0.18-1build3

Development files for Mosquitto

https://mosquitto.org/

sudo apt install mosquitto-dev
  • Section: universe/devel
  • Architecture: all
  • Source Package: mosquitto
  • 1 dependencies
  • normalized package name match
  • Matched by: Mosquitto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mosquitto-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mosquitto 2.1.2-r1

open source MQTT broker

https://mosquitto.org/

sudo apk add mosquitto
  • License: EPL-1.0 OR EPL-2.0
  • Architecture: x86_64
  • Source Package: mosquitto
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Mosquitto
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mosquitto from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment