Skip to main content

Why Install Locally?

Running Coreflux on your own machine gives you a complete IoT data pipeline—MQTT broker, LoT runtime, and data routing—without external dependencies or cloud subscriptions.
Coreflux runs as a single binary or container. No databases, no message queues, no orchestration needed—just download and run.

Install Coreflux

Docker is the fastest way to get Coreflux running. The official image works on Linux, macOS, and Windows. Pull the image from Docker Hub or open a terminal and run the command below—Docker will pull automatically if the image is not present.
docker run -d --name coreflux_broker -p 1883:1883 -p 5000:5000 coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
1883TCPMQTT (unencrypted)
5000WebSocketWebSocket connections
New to Docker? Visit the official Docker documentation to learn more.
If you configure TLS certificates, expose these additional ports:
docker run -d --name coreflux_broker -p 1883:1883 -p 5000:5000 -p 8883:8883 -p 443:443 coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
8883TCP/TLSMQTT over TLS
443WSSWebSocket over TLS
See Broker Configuration for TLS setup.
To enable the Coreflux HUB, expose these additional ports:
docker run -d --name coreflux_broker -p 1883:1883 -p 5000:5000 -p 8080:8080 -p 8443:8443 coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
8080HTTPHUB (unencrypted)
8443HTTPSHUB (TLS)
If these ports are not specified, the broker runs normally but without the HUB. See Coreflux HUB Overview to learn more.

Verify Installation

Confirm the broker is running by connecting with an MQTT client and subscribing to a system topic.
1

Open MQTT Explorer

Download MQTT Explorer or use any MQTT client of your choice.
2

Connect to the Broker

Create a new connection with these settings:
SettingValue
Hostlocalhost
Port1883
Usernameroot
Passwordcoreflux
3

Check System Topics

Subscribe to $SYS/# to see broker status messages. If you see topics like $SYS/broker/version, the broker is running correctly.
You should see the Coreflux version number published to $SYS/broker/version.

Next Steps

Getting Started

Create your first LoT Action in under 15 minutes.

VS Code Extension

Set up the LoT language extension for syntax highlighting.