From openclaw-assist
Guide for installing and configuring OpenClaw from scratch. Use when the user asks to "install OpenClaw", "set up OpenClaw", "configure OpenClaw", "run the OpenClaw onboarding wizard", "verify OpenClaw installation", "troubleshoot OpenClaw setup", "fix openclaw command not found", "run openclaw doctor", or needs help with OpenClaw prerequisites, installation methods, post-install verification, or first-run issues.
npx claudepluginhub jamesprial/prial-plugins --plugin openclaw-assistThis skill uses the workspace's default tool permissions.
Install, configure, and verify an OpenClaw deployment. OpenClaw is an open-source AI gateway that routes LLM traffic through a local runtime, providing a unified API surface, usage dashboards, and multi-model orchestration. This skill covers prerequisites, six installation methods, the interactive onboarding wizard, and post-install health checks.
Answers OpenClaw questions on configuration, troubleshooting, setup, architecture, features, channels, gateway, automation, models, and design decisions using clawdocs and openclaw CLIs.
Guides installation, configuration, troubleshooting, security hardening, and management of OpenClaw AI gateway for 23+ messaging platforms like Slack, Telegram, Discord.
Administers OpenClaw instances across macOS, Ubuntu/Debian, Docker, OCI, and Proxmox hosts; manages installation, gateways, security hardening, monitoring, backups, Tailscale, and channel configs.
Share bugs, ideas, or general feedback.
Install, configure, and verify an OpenClaw deployment. OpenClaw is an open-source AI gateway that routes LLM traffic through a local runtime, providing a unified API surface, usage dashboards, and multi-model orchestration. This skill covers prerequisites, six installation methods, the interactive onboarding wizard, and post-install health checks.
Before installing, confirm the target system meets these requirements:
node --version. Install from https://nodejs.org or via a version manager (nvm install 22).lsof -i :18789.For expanded hardware guidance, network requirements, and provider-specific key setup, read ${CLAUDE_PLUGIN_ROOT}/skills/setup/references/prerequisites.md.
OpenClaw offers six installation paths. Choose the one that fits the target environment.
The fastest path. Downloads the latest release, installs the binary, and drops a starter config.
macOS / Linux / WSL2:
curl -fsSL https://openclaw.ai/install.sh | bash
Windows (PowerShell, inside WSL2):
irm https://openclaw.ai/install.ps1 | iex
Useful when Node.js is already present and npm is the preferred package manager.
npm install -g openclaw@latest
Confirm with openclaw --version.
Build from the monorepo when contributing or running a custom fork.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
pnpm install
pnpm ui:build
pnpm build
Requires pnpm (install with npm install -g pnpm if missing).
Run the gateway in an isolated container. Use the setup script bundled in the repo root.
git clone https://github.com/openclaw/openclaw.git
cd openclaw
./docker-setup.sh
The script builds the image, creates a named volume for persistence, and starts the container with port 18789 mapped.
Automated provisioning for headless Debian 11+ or Ubuntu 20.04+ hosts.
curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw-ansible/main/install.sh | bash
The playbook installs Node.js, creates a dedicated service user, deploys OpenClaw, and enables a systemd unit.
Declarative installation via the nix-openclaw Home Manager module.
Add the module to home.nix, then rebuild:
imports = [ nix-openclaw.homeManagerModules.default ];
services.openclaw.enable = true;
For full command-line flags, environment variable overrides, and platform-specific notes for every method, read ${CLAUDE_PLUGIN_ROOT}/skills/setup/references/install-methods.md.
After installation, run the interactive onboarding wizard to configure the runtime:
openclaw onboard --install-daemon
The --install-daemon flag tells the wizard to also register a background service (systemd on Linux, launchd on macOS) so the gateway starts automatically.
~/.openclaw/.127.0.0.1:18789) -- local-only, safest default.0.0.0.0:18789) -- accessible to other machines on the same network.fast routes to Haiku, heavy routes to Opus). QuickStart creates one default channel; Advanced allows defining multiple.--install-daemon is passed, the wizard writes and enables a systemd service or launchd plist.For a complete step-by-step walkthrough of every wizard prompt and the config files it generates, read ${CLAUDE_PLUGIN_ROOT}/skills/setup/references/onboarding-wizard.md.
Run these three checks after installation to confirm the system is healthy.
A built-in diagnostic tool that validates Node.js version, port availability, config file syntax, API key reachability, and daemon status.
openclaw doctor
All checks should report green. If any check fails, re-run with the auto-repair flag:
openclaw doctor --fix
The --fix flag attempts corrective actions automatically: restarting the daemon, regenerating corrupt config files, and re-binding the port.
Confirm the gateway runtime is operational.
openclaw gateway status
Expected output includes:
Runtime: running
RPC probe: ok
If the runtime shows stopped, start it with openclaw gateway start.
Open the web-based management UI.
openclaw dashboard
This launches the default browser to http://127.0.0.1:18789/. The dashboard displays active channels, request logs, and model usage metrics. If the page does not load, verify the gateway is running with openclaw gateway status.
For the full verification checklist and advanced diagnostic commands, read ${CLAUDE_PLUGIN_ROOT}/skills/setup/references/post-install-verification.md.
openclaw: command not foundThe binary is not on PATH. The installer script prints the install location at the end of its output. Common fixes:
PATH. Find it with npm config get prefix and add <prefix>/bin to the shell profile.source ~/.bashrc or source ~/.zshrc) or open a new terminal.The gateway is not running. Restart it:
openclaw gateway restart
If the daemon was not installed, start the gateway in the foreground for debugging:
openclaw gateway start --foreground
Another process holds the port. Identify it:
lsof -i :18789
Either stop the conflicting process or reconfigure OpenClaw to use a different port in ~/.openclaw/config.yaml under the gateway.port key.
Container file ownership mismatch. Fix by aligning the volume owner to UID 1000 (the default container user):
sudo chown -R 1000:1000 ~/.openclaw
Then restart the container.
Load these resources for expanded detail on each topic:
${CLAUDE_PLUGIN_ROOT}/skills/setup/references/prerequisites.md -- Detailed system requirements including hardware sizing, supported Node.js versions, network and firewall rules, and provider API key setup.${CLAUDE_PLUGIN_ROOT}/skills/setup/references/install-methods.md -- All six installation methods with complete command sequences, environment variable overrides, platform-specific notes, and upgrade instructions.${CLAUDE_PLUGIN_ROOT}/skills/setup/references/onboarding-wizard.md -- Full step-by-step walkthrough of every onboarding wizard prompt, generated config file locations, and daemon management commands.${CLAUDE_PLUGIN_ROOT}/skills/setup/references/post-install-verification.md -- Expanded verification commands, openclaw doctor check descriptions, log file locations, and advanced troubleshooting procedures.