WuKongIM Docs

Prerequisites

Prepare the tools, ports, and local directory required to run WuKongIM from source.

The quick start runs from source because that path only needs Git and Go and directly uses the repository's tested single-node cluster example configuration.

Required tools

ToolRequirementPurpose
GitAble to reach GitHubFetch the source
Go1.25.11Build and run WuKongIM
curlSupports --failVerify readiness
BrowserSupports modern WebSocketUse Manager and the Chat Demo

Check the local environment:

git --version
go version
curl --version

go version should report go1.25.11. Other versions may build, but they are outside the verified toolchain for this quick start.

Local ports

The default example requires these ports to be free:

PortPurpose
5001HTTP API, readiness, metrics, and embedded Chat Demo
5100WKProto TCP
5200WebSocket multiplexer
5301Manager
7001Node transport

If a port conflicts, stop the conflicting program or change the corresponding listener in your copied wukongim.toml. Do not edit wukongim.toml.example directly.

Disk and network

  • The current directory must allow creation of ./data/wukongim-single-node-data.
  • The first run needs network access to download Go modules.
  • Test users only need local browser access; no public domain is required.

When ready, start the single-node cluster.

On this page