Table of contents
- What you'll achieve
- Before you start
- Step 1: Run PowerShell as administrator
- Step 2: Allow script execution
- Step 3: Install OpenClaw
- Verify the install
- Step 4: If the command does not work
- Step 5: Run onboarding
- Step 6: Start and run OpenClaw
- Verify startup
- Step 7: Windows setup pitfalls
- ExecutionPolicy error
- PATH or command issues
- Firewall or Defender issues
- Step 8: Related operations
- Related OpenClaw guides
Beginner
OpenClaw on Windows (Beginner-Friendly)
Install OpenClaw on Windows with PowerShell, complete onboarding, and learn how to run and verify it safely.
- Install
- Windows
- PowerShell
OpenClaw on Windows (Beginner-Friendly)
⚠️ Security note: test on a spare machine, VM, or separate Windows account first.
OpenClaw can run high-privilege actions, so avoid your primary work environment.
What you'll achieve
- Install OpenClaw with PowerShell
- Complete onboarding on Windows
- Start OpenClaw, verify it responds, and learn how to restart it
- Fix common Windows setup problems such as ExecutionPolicy, PATH, Defender, and firewall blocks
Before you start
- Prefer an English username and simple file paths if possible
- Prepare a working model API key
- Confirm network access to the install script
Step 1: Run PowerShell as administrator
Start menu -> PowerShell -> right click -> Run as Administrator
whoamiStep 2: Allow script execution
Set-ExecutionPolicy RemoteSigned -Scope CurrentUserGet-ExecutionPolicy -Scope CurrentUserStep 3: Install OpenClaw
iwr -useb https://openclaw.bot/install.ps1 | iexVerify the install
openclaw --versionwhere openclawStep 4: If the command does not work
- Close PowerShell and open it again
- Re-run
openclaw --version - If needed, remove old packages and install again
npm uninstall -g clawdbotnpm uninstall -g moltbotnpm uninstall -g openclawStep 5: Run onboarding
openclaw onboard --flow quickstartUse Telegram first if you want the easiest first proof that OpenClaw works.
Step 6: Start and run OpenClaw
openclaw startAfter config changes:
openclaw gateway restartVerify startup
- Logs do not show recurring errors
- Your chosen channel responds to a test message
Step 7: Windows setup pitfalls
ExecutionPolicy error
Recheck Step 2 and confirm the current user scope is set correctly.
PATH or command issues
Use where openclaw and reopen PowerShell after installation.
Firewall or Defender issues
- Allow the relevant process through Windows Firewall
- Add your OpenClaw data folder to Defender exclusions only if necessary
Step 8: Related operations
If you want a 24/7 environment, do not keep using a desktop-only workflow. Continue with Docker / VPS deployment.
If you need routing, gateway token, or skills configuration, continue with advanced configuration.
Related OpenClaw guides
Frequently asked questions
Quick clarifications for common blockers while following this tutorial.
What is OpenClaw?Getting Started
How does OpenClaw work?Getting Started
How do I use OpenClaw for the first time?Getting Started
Related tutorials
OpenClaw Local Install (Mac / Linux)
- Install
- Onboarding
- Mac
- Linux
OpenClaw Docker / VPS Deployment (Recommended)
- VPS
- Docker
- Ubuntu
- Deployment
OpenClaw Telegram Setup Guide
- Telegram
- Channel
Was this helpful?