Automic VaultAutomic Vault

brew

使用 Homebrew 安装 emqx

查看 emqx 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install emqx

local Homebrew formula metadata

概览

软件包摘要

MQTT broker for IoT

命令和别名

  • emqx
  • emqx-5.8.8
  • emqx_cluster_rescue
  • emqx_ctl
  • emqx_ctl-5.8.8
  • emqx_fw
  • install_upgrade.escript
  • install_upgrade.escript-5.8.8
  • no_dot_erlang.boot
  • node_dump
  • nodetool-5.8.8

历史

项目历史与用法

EMQX is an Erlang-based MQTT broker and IoT messaging platform for high-scale device connectivity, MQTT protocol support, clustering, rules, data integrations, and operational management.

项目历史

EMQ's tenth-anniversary post says EMQX was released as an open-source project on GitHub on December 17, 2012. The same source frames its origin around Erlang, MQTT, and open source, and says development continued through the 2010s as MQTT became a default protocol for IoT messaging.

The official history highlights several product milestones: early MQTT 3.1 and 3.1.1 compatibility, EMQX 3.0 in 2018 with full MQTT 5.0 server support, EMQX 4.0 in 2020 with a built-in SQL-based rule engine, and EMQX 5.0 with larger-scale clustering, MQTT over QUIC, and 100M+ connection testing.

The README describes EMQX as a platform rather than only a broker, with support for MQTT 5.0, 3.1.1, and 3.1, plus MQTT-SN, CoAP, LwM2M, and MQTT over QUIC. It also documents the 5.9.0 licensing/product change that unified features from the previous open-source and enterprise editions under BSL 1.1.

采用历史

The anniversary post gives the clearest official adoption snapshot: more than 10K GitHub stars, more than 20M downloads, more than 20,000 enterprise users, and more than 30,000 active cluster deployments per month at the time of that post.

EMQX's commercial adoption story is also official: EMQ says the company opened in 2017 in response to enterprise users deploying EMQX at scale, and the anniversary post cites over 400 customers and over 70 Fortune 500 companies using EMQX in IoT, IIoT, connected-vehicle, and other mission-critical applications.

使用方式

Package users run EMQX as a broker service, commonly exposing MQTT ports, the Dashboard, and HTTP APIs. The official README shows Docker startup, Kubernetes operator documentation, downloads for self-managed installs, and build-from-source instructions.

Configuration became more HOCON-oriented in EMQX 5. The official configuration docs describe `etc` as the static configuration directory, `data/configs` as the dynamic runtime configuration directory, `base.hocon` for configuration-as-code, `cluster.hocon` for changes persisted through Dashboard/API/CLI, and `emqx.conf` for backward-compatible immutable settings.

In deployed systems, EMQX is commonly used as the MQTT ingress and routing layer for IoT data, with rules and bridges sending messages to Kafka, RabbitMQ, PostgreSQL, MySQL, MongoDB, Redis, ClickHouse, cloud messaging services, webhooks, and observability systems.

为什么软件包爱好者会关心

EMQX is a heavier package-manager entry than most CLIs in this batch: it ships a broker, management commands, Erlang runtime expectations, configuration layers, a dashboard, and service-style deployment behavior. For package maintainers, it sits closer to Redis, RabbitMQ, or Mosquitto than to a single-purpose command.

It matters to package nerds because it exposes the messy but useful intersection of package managers and distributed systems: local development installs, service supervision, data directories, versioned config migration, and network ports all have to line up before the binary is useful.

时间线

  • 2012: EMQX released as an open-source project on GitHub on December 17.
  • 2017: EMQ opened as a company after enterprise deployment demand grew.
  • 2018: EMQX 3.0 released with complete MQTT 5.0 server support.
  • 2020: EMQX 4.0 introduced a built-in SQL-based rule engine.
  • 2022: EMQX 5.0 arrived with 100M+ connection testing and MQTT over QUIC highlighted by EMQ.
  • v5.9.0: EMQX unified prior open-source and enterprise features under BSL 1.1.

Related projects

  • Related EMQ projects and surfaces include EMQX Cloud, the EMQX Kubernetes Operator, MQTTX, the EMQX rule engine and data integrations, and the broader MQTT broker ecosystem that includes Mosquitto, VerneMQ, HiveMQ, and RabbitMQ MQTT plugins.

安全态势

风险级别:orange

formula declares a Homebrew service. infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service
  • infrastructure mutation or orchestration signal

信号

  • metadata:service
  • text:cluster

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 7 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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.

Unix
etc/emqx.confetc/base.hoconetc/cluster.hocon

可执行文件

已安装的可执行文件

命令类型暴露范围备注
emqxcli全局可执行文件
emqx-5.8.8cli全局可执行文件
emqx_cluster_rescuecli全局可执行文件
emqx_ctlcli全局可执行文件
emqx_ctl-5.8.8cli全局可执行文件
emqx_fwcli全局可执行文件
install_upgrade.escriptcli全局可执行文件
install_upgrade.escript-5.8.8cli全局可执行文件
no_dot_erlang.bootcli全局可执行文件
node_dumpcli全局可执行文件
nodetool-5.8.8cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本5.8.8
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v5.8.8

https://github.com/emqx/emqx

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:emqx
版本5.8.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/emqx
主页https://www.emqx.io/
仓库https://github.com/emqx/emqx
上游文档https://docs.emqx.com/en/emqx/latest
许可证Apache-2.0
源码归档https://github.com/emqx/emqx/archive/refs/tags/v5.8.8.tar.gz
依赖openssl@3
构建依赖autoconf, automake, cmake, coreutils, erlang@26, freetds, libtool
macOS 提供的库cyrus-sasl, krb5, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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
  • package relationship graph
  • package version freshness
  • package-page enrichment