Set Up Your PC
Get everything installed in under 15 minutes.
On Mac? Switch to the Mac guide →
First: Open PowerShell
PowerShell is how you'll run all these commands. Don't worry, you're just copying and pasting.
1. Press Win + S (or the Win key).
2. Type PowerShell.
3. Right-click and choose Run as Administrator.
Install winget
winget is the Windows package manager. Windows 11 already includes it. On Windows 10, install App Installer from the Microsoft Store first.
winget --version
Install Node.js
Node.js allows your computer to run the code that powers your agents.
winget install OpenJS.NodeJS.LTS
Close PowerShell, open it again, then verify:
node --version
npm --version
Install Python 3
Python is used for many AI tools and automations.
winget install Python.Python.3
Close PowerShell, open it again, then verify:
python --version
Install Git
Git tracks changes in code and lets you download templates.
winget install Git.Git
Verify it worked:
git --version
Install OpenClaw
OpenClaw is the engine that runs your personal AI agent.
npm install -g openclaw
Verify it worked:
openclaw --version
Install VS Code
Visual Studio Code is the editor you'll use to view your agent's files.
winget install Microsoft.VisualStudioCode
- Or download from code.visualstudio.com.
- Open VS Code.
- Press Ctrl + Shift + P to open the Command Palette.
- Type shell command and select Install 'code' command in PATH.
Close PowerShell, open it again, then verify:
code --version
Show Hidden Files
OpenClaw stores your agent in a C:\Users\[YourName]\.openclaw folder. Folders starting with a dot are hidden by default.
explorer $env:USERPROFILE\.openclaw
- Open File Explorer.
- Go to the View tab and check Hidden items.
- Or choose View → Options → View, then select Show hidden files, folders, and drives.
- Look for the .openclaw folder in
C:\Users\[YourName]\.
What this does: reveals the folder where OpenClaw stores your workspace and settings.
Open VS Code from a Folder
Navigate to C:\Users\[YourName]\.openclaw\workspace\ in File Explorer and right-click to open it with VS Code. Or, run this in PowerShell:
code $env:USERPROFILE\.openclaw\workspace
What you'll see:
dir $env:USERPROFILE\.openclaw\workspace
Inside, you'll see your agent files, SOUL.md, and memory files.
Already comfortable with Linux?
Use WSL2 and follow our Mac guide instead. You'll get a full Ubuntu environment on Windows.
Read Microsoft's WSL2 docs →Troubleshooting
"winget not recognized" ▼
"npm not recognized after install" ▼
"execution policy" errors ▼
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser then retry.