This comprehensive guide shows you how to install OpenClaw on Windows 10 and Windows 11. Learn to set up your AI assistant using PowerShell, Command Prompt, or nvm-windows with detailed step-by-step instructions.
Choose the installation method that works best for you. We recommend Method 1 for most users.
The easiest way to install OpenClaw on Windows. Download the official Node.js installer and use npm.
For developers who need to manage multiple Node.js versions. Provides flexibility to switch between versions.
Automated installation using PowerShell script. Downloads and configures everything automatically.
Visit the official Node.js website and download the Windows installer:
Download Link: https://nodejs.org/
Select Node.js 22.x LTS or newer for Windows (64-bit)
Double-click the downloaded .msi file and follow the installation wizard:
Open PowerShell or Command Prompt and verify the installation:
node --version
npm --version
You should see Node.js 22.x.x or newer and npm 10.x.x or newer.
Now install OpenClaw globally using npm:
npm install -g openclaw@latest
This installs the latest version of OpenClaw (v2026.2.6) globally on your system.
Start the interactive setup wizard:
openclaw onboard
The wizard will guide you through:
Launch OpenClaw and access the web interface:
openclaw start
OpenClaw will start and display:
✓ OpenClaw is running!
Web Interface: http://127.0.0.1:18789/
nvm-windows allows you to install and manage multiple Node.js versions. Ideal for developers.
Download the nvm-windows installer from GitHub:
https://github.com/coreybutler/nvm-windows/releases
Download nvm-setup.exe and run the installer
Open PowerShell as Administrator and install Node.js 22:
nvm install 22
nvm use 22
Now install OpenClaw globally:
npm install -g openclaw@latest
Run the onboarding wizard and start OpenClaw:
openclaw onboard
openclaw start
cannot be loaded because running scripts is disabled on this system
Run PowerShell as Administrator and execute:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
EPERM: operation not permitted
Run PowerShell or CMD as Administrator, then install:
npm install -g openclaw@latest
node-gyp rebuild failed
Install Windows Build Tools:
npm install -g windows-build-tools
Error: listen EADDRINUSE :::18789
Find and kill the process using port 18789:
netstat -ano | findstr :18789
taskkill /PID <PID> /F
Replace <PID> with the process ID from the netstat output.
'node' is not recognized as an internal or external command
Add Node.js to PATH manually:
C:\Program Files\nodejs\Installation failed or files quarantined
Temporarily disable Windows Defender or add npm to exclusions: