pkg.soopen package index

brew / rank 996

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

Message broker implementing the MQTT protocol. Version 2.1.2 via Homebrew; verified 2026-07-27. Also installable with debian: sudo apt install libmosquitto-dev.

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 mosquitto

Debian stable package indexes · mosquitto · 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 mosquitto

openSUSE Tumbleweed package metadata · mosquitto · 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 bottle metadata was recorded.

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
mosquittoexecutableindexed executableDiscovered from the local executable index.
mosquitto_ctrlexecutableindexed executableDiscovered from the local executable index.
mosquitto_db_dumpexecutableindexed executableDiscovered from the local executable index.
mosquitto_passwdexecutableindexed executableDiscovered from the local executable index.
mosquitto_pubexecutableindexed executableDiscovered from the local executable index.
mosquitto_rrexecutableindexed executableDiscovered from the local executable index.
mosquitto_signalexecutableindexed executableDiscovered from the local executable index.
mosquitto_subexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version2.1.2
manager updated2026-07-27
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mosquitto
Version2.1.2
Package managerHomebrew
Homepagehttps://mosquitto.org/
Last updated2026-07-27T08:04:08Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation