openclaw-setup

Install, configure, and troubleshoot the OpenClaw personal AI assistant via CLI commands.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/Dhanuzh/DCode-Core --skill openclaw-setup-dhanuzh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-setup
Source: https://github.com/Dhanuzh/DCode-Core/tree/main/crates/dcode-app/assets/builtin-skills/openclaw-setup
Command: npx skills add https://github.com/Dhanuzh/DCode-Core --skill openclaw-setup-dhanuzh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up and operating the OpenClaw personal AI assistant involves many steps—installation, Gateway deployment, channel configuration, and diagnostics—and errors like PATH issues or failed services are hard to debug without guidance. ## Core Features & Use Cases - Installation & Deployment: Guides npm/script installation, onboarding wizard, and Gateway service setup on launchd or systemd. - Configuration & Usage: Covers config get/set commands, Agent creation, channel management, cron jobs, and webhooks. - Troubleshooting & Uninstallation: Diagnoses issues with openclaw doctor, checks logs and ports, and provides complete removal steps. - Use Case: A user reports the Gateway won't start; the skill walks through checking openclaw gateway status, inspecting port 18789, reviewing logs, and running openclaw doctor --repair. ## Quick Start Ask the assistant to check whether OpenClaw is installed and diagnose the Gateway status on this machine.

Frequently Asked Questions about openclaw-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install OpenClaw on my machine?

Install OpenClaw with npm using `npm install -g openclaw@latest`, or run the official install script on macOS/Linux. Node.js version 22 or higher is required, then run `openclaw onboard --install-daemon` to complete setup.

How do I fix OpenClaw Gateway not starting?

Run `openclaw doctor` to diagnose the issue, then check that `gateway.mode` is set with `openclaw config get gateway.mode`. Also verify port 18789 is not occupied and review Gateway logs for errors.

Why is the openclaw command not found in PATH?

This usually happens when the app is launched outside a terminal, so the npm global bin directory is missing from PATH. Confirm installation with `npm list -g openclaw` and use the absolute path from `npm bin -g` as a workaround.

Does OpenClaw work on Windows?

OpenClaw supports Windows through WSL2, which is strongly recommended. The CLI commands are cross-platform, but bash shell snippets must be translated to PowerShell equivalents before running on Windows.

How do I completely uninstall OpenClaw?

Stop the Gateway with `openclaw gateway stop`, uninstall the npm package globally, delete the `~/.openclaw` directory, and remove the launchd or systemd service files. Verify with `which openclaw` returning nothing.