macOS
brew install mosquittolocal Homebrew formula metadata
sudo port install mosquittoMacPorts ports tree · net/mosquitto/Portfile · 来源: api.github.com
安装
brew install mosquittolocal Homebrew formula metadata
sudo port install mosquittoMacPorts ports tree · net/mosquitto/Portfile · 来源: api.github.com
sudo apk add mosquittoAlpine Linux edge package indexes · mosquitto · 来源: dl-cdn.alpinelinux.org
sudo apt install mosquittoDebian stable package indexes · mosquitto · 来源: deb.debian.org
sudo dnf install mosquittoFedora Rawhide package metadata · mosquitto · 来源: dl.fedoraproject.org
nix profile install nixpkgs#mosquittonixpkgs package indexes · pkgs/by-name/mo/mosquitto/package.nix · 来源: api.github.com
sudo pacman -S mosquittoArch Linux sync databases · mosquitto · 来源: geo.mirror.pkgbuild.com
sudo zypper install mosquittoopenSUSE Tumbleweed package metadata · mosquitto · 来源: download.opensuse.org
scoop install main/mosquittoScoop official bucket manifest trees · bucket/mosquitto.json · 来源: api.github.com
winget install --id EclipseFoundation.Mosquitto -eWindows Package Manager source index · EclipseFoundation.Mosquitto · 来源: cdn.winget.microsoft.com
概览
Message broker implementing the MQTT protocol
历史
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.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.conf可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mosquitto | cli | 全局可执行文件 | |
mosquitto_ctrl | cli | 全局可执行文件 | |
mosquitto_db_dump | cli | 全局可执行文件 | |
mosquitto_passwd | cli | 全局可执行文件 | |
mosquitto_pub | cli | 全局可执行文件 | |
mosquitto_rr | cli | 全局可执行文件 | |
mosquitto_signal | cli | 全局可执行文件 | |
mosquitto_sub | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:mosquitto |
|---|---|
| 版本 | 2.1.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mosquitto |
| 主页 | https://mosquitto.org/ |
| 仓库 | https://github.com/eclipse-mosquitto/mosquitto |
| 上游文档 | https://mosquitto.org/documentation |
| 许可证 | EPL-1.0 OR BSD-3-Clause |
| 源码归档 | https://mosquitto.org/files/source/mosquitto-2.1.2.tar.gz |
| 最后更新 | 2026-06-06T11:29:13Z |
| Pulse | updated |
| 依赖 | cjson, libwebsockets, openssl@3 |
| 构建依赖 | cmake, pkgconf |
| macOS 提供的库 | libedit, sqlite |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | mosquitto has been installed with a default configuration file. You can make changes to the configuration by editing: $HOMEBREW_PREFIX/etc/mosquitto/mosquitto.conf |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 mosquitto来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.