Quick Start Guide
From zero to a working AI agent. Follow these steps and you'll be chatting with your personal assistant in minutes.
Check Requirements
Before you start, make sure you have:
macOS, Linux, or Windows
OpenClaw runs on macOS, Linux, native Windows, and WSL2. WSL2 is still the steadier Windows path for headless/server setups.
Node 24 recommended
The installer handles Node for you. If you manage Node yourself, use Node 24 recommended or Node 22.19+ minimum.
Model access
Use an API key, OAuth-backed provider, Claude CLI, OpenAI Code/Codex subscription, Ollama/LM Studio, or another OpenAI-compatible endpoint.
Messaging App (Optional)
Telegram is fastest; WhatsApp, Discord, Slack, Matrix, Signal, iMessage, QQ Bot, and more are also supported.
Don't have an API key yet?
Start with whichever access you already have: Anthropic API key, OpenAI/Codex OAuth, Google Gemini, OpenRouter, or a local Ollama/LM Studio model. Onboarding walks you through the safe path.
Install OpenClaw
Use the official installer. It detects your OS, handles Node if needed, installs OpenClaw, and can launch onboarding:
curl -fsSL https://openclaw.ai/install.sh | bash
This installs the openclaw command. Verify it worked:
openclaw --version
Expected Output
OpenClaw 2026.6.6
๐ฆ Alternative: npm/pnpm/bun or Docker
If you manage Node yourself, npm is still supported; containers are available for headless deployments:
npm install -g openclaw@latest
openclaw onboard --install-daemon
# or see the Docker guide for container deployments
Run the Setup Wizard
The onboard wizard guides you through configuration:
openclaw onboard
The wizard will ask you for:
Your Name
How your agent should refer to you
Model/Auth
Choose API key, OAuth, Claude CLI, Codex subscription, custom provider, Ollama, or LM Studio
Agent Personality
Pick a preset or create custom (you can change this later)
Channels, daemon, and skills
Connect a chat app, install the per-user service, and pick useful skills
๐ What Gets Created
The wizard creates these files in ~/.openclaw/:
Connect a Messaging Channel
Chat with your agent through your favorite messaging app. Pick one:
Launch Your Agent
Onboarding can install and start the daemon for you. Check status, then open the local dashboard or terminal chat:
openclaw gateway status
openclaw dashboard
Expected Output
OpenClaw Gateway: running
Control UI: http://127.0.0.1:18789
Open the dashboard or send a message from your configured channel.
You're Live!
Send a message to your bot and watch the magic happen. Your agent is now ready to help you.
What's Next?
Troubleshooting
โ "Command not found: openclaw"
Run openclaw doctor. If the CLI is missing, rerun the installer or install with npm install -g openclaw@latest if you manage Node yourself.
โ "API key invalid" or "401 Unauthorized"
Run openclaw models status or openclaw configure --section model. Config now lives in ~/.openclaw/openclaw.json, with credentials in auth profiles/secret refs where possible.
โ Bot not responding to messages
- Check the gateway is running:
openclaw gateway status - Check logs for errors:
openclaw logs - Make sure your user ID is in the allowlist
- For Telegram: make sure you started a chat with the bot first
โ "Permission denied" errors
Avoid sudo npm install -g when possible. Use the installer script or a local npm/pnpm/bun prefix, then run openclaw doctor.