1 1 · Interactive installer (recommended)
A bash script with three prompts — language, ACP port, and web port. It installs `agim-cli` from npm (the binary is `agim`), writes a minimal `~/.agim/config.json` (or keeps `~/.im-hub/` on upgrades), drops a systemd unit if run as root, then launches `agim config` so you can pick messengers, agents, SMTP, Baidu Maps AK, etc. Re-runnable; safe to abort at any prompt.
bash -c "$(curl -fsSL https://imhub.iclaw.host/install.sh)"
systemd unit installed automatically when run as root. Otherwise foreground via `agim start`.
bash -c "$(curl -fsSL https://imhub.iclaw.host/install.sh)"
Same script — `uname -s` auto-detects Darwin. If Node.js is missing: `brew install node` (Node 22+).
wsl --install -d Ubuntu
wsl bash -c "$(curl -fsSL https://imhub.iclaw.host/install.sh)"
Native Windows isn't supported. WSL2 + Ubuntu is the supported path. First line installs WSL (one-time, reboot may be required); second runs the installer inside Ubuntu.
Requires curl, bash, npm, and Node.js ≥ 22. Run as the user that will own ~/.agim (or whichever existing ~/.im-hub the installer detects from a 0.x deployment).