Installation
CH-UI ships as a single binary for server and connector operations. State lives in a local SQLite file, so there are no external services to operate.
Quick Install (Recommended)
Section titled “Quick Install (Recommended)”Download the binary for your platform from GitHub Releases:
# macOS (Apple Silicon)curl -L -o ch-ui https://github.com/caioricciuti/ch-ui/releases/latest/download/ch-ui-darwin-arm64
# macOS (Intel)curl -L -o ch-ui https://github.com/caioricciuti/ch-ui/releases/latest/download/ch-ui-darwin-amd64
# Linux (amd64)curl -L -o ch-ui https://github.com/caioricciuti/ch-ui/releases/latest/download/ch-ui-linux-amd64
# Linux (arm64)curl -L -o ch-ui https://github.com/caioricciuti/ch-ui/releases/latest/download/ch-ui-linux-arm64Then make it executable and install:
chmod +x ch-uisudo install -m 755 ch-ui /usr/local/bin/ch-uiSupported platforms:
- Linux:
amd64,arm64 - macOS:
amd64,arm64
Verify Install
Section titled “Verify Install”ch-ui versionFirst Run
Section titled “First Run”# Shortcut (default command starts server)ch-ui
# Or explicit:ch-ui server --port 3488Open http://localhost:3488.
Quick Start (Docker)
Section titled “Quick Start (Docker)”Use the official GHCR image:
docker run --rm \ -p 3488:3488 \ -v ch-ui-data:/app/data \ -e CLICKHOUSE_URL=http://host.docker.internal:8123 \ ghcr.io/caioricciuti/ch-ui:latestNotes:
- On Linux, replace
host.docker.internalwith a host/IP reachable from the container. - App state is persisted at
/app/data/ch-ui.db(volume:ch-ui-data).
Local ClickHouse URL and Name (if needed)
Section titled “Local ClickHouse URL and Name (if needed)”If local login points to the wrong endpoint, restart CH-UI with explicit values:
ch-ui server --clickhouse-url http://127.0.0.1:8123 --connection-name "My Connection 1"Environment-variable equivalent:
CLICKHOUSE_URL=http://127.0.0.1:8123 CONNECTION_NAME="My Connection 1" ch-ui serverRecovery guide: Can’t login?
Manual Download (Fallback)
Section titled “Manual Download (Fallback)”If you prefer to download manually, grab the binary from GitHub Releases.
Available binaries:
ch-ui-linux-amd64ch-ui-linux-arm64ch-ui-darwin-amd64ch-ui-darwin-arm64
curl -L -o ch-ui https://github.com/caioricciuti/ch-ui/releases/latest/download/ch-ui-linux-amd64chmod +x ch-uisudo install -m 755 ch-ui /usr/local/bin/ch-uich-ui versionIf you do not install globally, run the binary directly:
./ch-ui version./ch-ui server --port 3488Local Connector Behavior
Section titled “Local Connector Behavior”When the server starts, CH-UI can run an embedded connector against local ClickHouse (http://localhost:8123) so you can get started quickly.
Recommended First Steps
Section titled “Recommended First Steps”- Login with a ClickHouse username/password.
- If login fails, open Can’t login?.
- Configure Brain providers in Admin.
- With a Pro license activated, open Governance and run initial sync, then check Query Insights and Cluster Health.
