Install OpenClaw on Windows
Get OpenClaw (formerly Moltbot) running on your Windows PC in minutes. WSL2 is strongly recommended for the best experience.
- ✓Windows 10 version 2004+ or Windows 11
- ✓Node.js 22+ (required for native install)
- ✓At least 8GB RAM (16GB recommended)
- ✓Hardware virtualization enabled in BIOS (for WSL2)
- ✓Admin access to install WSL2/Docker
Installation Steps
Enable WSL2 (Strongly Recommended)
WSL2 is strongly recommended for the best experience. It provides a full Linux environment with excellent performance.
wsl --installInstall Docker Desktop (Optional)
If you prefer Docker, download and install Docker Desktop for Windows. It will use WSL2 automatically.
winget install Docker.DockerDesktopInstall OpenClaw via PowerShell
Open PowerShell as Administrator and run the install command.
iwr -useb https://openclaw.ai/install.ps1 | iexOr Install via npm
Alternatively, if you have Node.js 22+ installed, use npm.
npm install -g openclaw@latestRun OpenClaw Onboard
Complete the onboarding and install the gateway daemon (runs on port 18789).
openclaw onboard --install-daemonAccess the Dashboard
Open your browser and navigate to the OpenClaw dashboard to complete setup.
http://localhost:18789Docker won't start?
Ensure Hyper-V and WSL2 are enabled. Run bcdedit /set hypervisorlaunchtype auto in admin PowerShell and restart.
Port 3000 already in use?
Change the port mapping: -p 3001:3000 instead.
Slow performance?
Enable WSL2 backend in Docker Desktop settings for better file system performance.
For the best performance, install OpenClaw directly in WSL2 Ubuntu:
wsl -d Ubuntu
curl -fsSL https://openclaw.ai/install.sh | bashConfig will be stored in ~/.openclaw/openclaw.json
Next Steps
Once OpenClaw is running, configure your AI provider and connect messaging channels.