Download

Install MQTTX using the Command Line.

v1.13.2.cli.win64.exe

64 bit

Download

v1.13.2.cli.arm64.exe

ARM 64

Download

Why MQTTX CLI

Designed to help develop and debug MQTT faster on the terminal.

Open Source

Open Source

100% open source under Apache 2.0 license

Dependency-free

Dependency-free

Get up and run with no prerequisites required

Easy to Integrate

Easy to Integrate

Quick integration into automation test scripts

One and Two Way SSL

One and Two Way SSL

Support for one-way and two-way SSL authentication

AI Agent Skill

The mqttx-cli Agent Skill teaches AI coding agents to operate MQTTX CLI correctly and safely — connection checks, publishing and subscribing, MQTT 5 features, TLS authentication, payload codecs, benchmarks, and data simulation.

Explore AI Agent Skill

Install the skill with the Skills CLI

npx skills add emqx/MQTTX --skill mqttx-cli
copied

Quick Start

Connect

mqttx conn -h 'broker.emqx.io' -p 1883 -u 'admin' -P 'public'
copied

Subscribe

mqttx sub -t 'hello' -h 'broker.emqx.io' -p 1883
copied

Publish

mqttx pub -t 'hello' -h 'broker.emqx.io' -p 1883 -m 'Hello from MQTTX CLI'
copied

Better Together with EMQX

Deploy EMQX in the cloud or on your own infrastructure.

EMQX Cloud

Build MQTT data pipelines in minutes and connect millions of devices as you scale.

  • Massive-scale MQTT messaging with ultra-low latency
  • Connect, process, store, and analyze IoT data in real time
  • Available globally with enterprise-grade high availability

EMQX Enterprise

Deploy EMQX on your own servers with full control.

  • Flexible deployment: VMs, containers, Kubernetes
  • Works in private, hybrid, and public clouds
  • AWS/GCP/Azure marketplace options