ConfigHub · Durable config for coding agents
Docs / docs/install-mini.md Source on GitHub →

Install the Local Hub (cub-server)

The Local Hub runs a real ConfigHub server, Web UI, and PostgreSQL locally on your laptop so you can test staging vs. approval-gated production without creating a cloud account.

Local Hub server installation is provided by the official confighub/cub-server plugin for cub. The Claude Code / Codex plugin in this repository (confighub-mini-plugin) is 100% MIT-licensed Zero-Hub client code and never bundles or redistributes the ConfigHub server binary.

The current release

ComponentSourceLicense
Zero-Hub plugin (Claude Code · Codex · Antigravity) (v0.99.48)confighubai/confighub-mini-plugin/releases (~4.8 MB gzipped, macOS & Linux, zero server)MIT
Official Local Hub installer (cub-server v0.5.1+)cub plugin install confighub/cub-server (confighub/cub-server; Apple Silicon macOS, ~125 MB total, loopback 127.0.0.1)Plugin: MIT · ConfigHub server: Evaluation License
Full cub CLIv0.11 or later (docs.confighub.com)MIT

Which commands need a hub vs. Zero Hub (plugin alone):

What you are installing

Install in one step, from Claude Code

  1. Install the MIT Zero-Hub Claude Code plugin:

    claude plugin marketplace add confighubai/confighub-mini-plugin
    claude plugin install confighub@confighub
  2. Install the official cub-server plugin and start your Local Hub:

    cub plugin install confighub/cub-server
    cub server local up

    (Once cub is installed, cub local start, cub local status, cub local open, cub local stop, and cub local uninstall --delete-data delegate directly to cub server local up|status|open|down|down --purge.)

  3. Inside Claude Code, run /confighub:staging in your app folder to create base, staging, and approval-gated live copies on the hub, or /confighub:to-hub to push local change history to either your Local Hub or Cloud Hub.

Install by hand, without the plugin

These commands work directly in any terminal without Claude Code:

# 1. Install the official server plugin for cub
cub plugin install confighub/cub-server

# 2. Start ConfigHub server + Web UI + PostgreSQL locally (Apple Silicon macOS, ~45s first run)
cub server local up

# 3. Verify it answers and open the Web UI signed in
cub space list
cub server local status
cub server local open

For Linux or Intel macOS (uses Docker + kubectl):

cub plugin install confighub/cub-server
cub server install -i

Move to a newer confighub mini

To upgrade the cub-server plugin and move your Local Hub instance to the newest ConfigHub release:

cub plugin upgrade server
cub server local up --upgrade

To upgrade the Claude Code Zero-Hub plugin:

claude plugin marketplace update confighub
claude plugin update confighub@confighub

Remove the hub

Stop the Local Hub processes (keeps your data in ~/.confighub/local):

cub server local down
# or: cub local stop

To delete all local data, stop the instance and remove ~/.confighub/local.

In a container or a CI job

What the package contains

Report a problem