Run AI Agents on Windows: WSL2 Setup, Fixes & Every Platform Note (2026)
Windows works — but most CLI-based AI agents run best inside WSL2 rather than native PowerShell. This page collects every Windows-specific note, known error, and fix across all the platforms we cover, so you don't have to dig through individual setup guides.
Use WSL2 + Ubuntu for OpenClaw, NemoClaw, IronClaw, and Hermes. It avoids Windows path quirks and lets you follow Linux install steps directly. For Claude Cowork, WSL2's Virtual Machine Platform is required — and it must be enabled as admin. If you're on a managed corporate machine, that may be blocked.
WSL2 Quick-Start
If you're starting fresh on Windows, this is the fastest path to a working agent environment:
-
Enable WSL2
Open PowerShell as Administrator and run:
wsl --installThis enables the Virtual Machine Platform, installs WSL2, and sets Ubuntu as the default distro. Reboot when prompted.
-
Open Ubuntu from the Start menu
Set a username and password when prompted. This is your Linux environment — everything from here follows Linux install guides.
-
Install Node.js inside WSL2 via nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash source ~/.bashrc nvm install --lts node --version -
Follow the Linux path for your chosen agent
OpenClaw, Hermes, NemoClaw, and IronClaw all have standard curl/npm installers that work inside this environment. See the per-platform notes below.
Most agents will install in PowerShell with Node.js for Windows from nodejs.org. You may hit file-path issues, permission errors, or behaviour differences not covered in the docs. WSL2 is strongly recommended for anything beyond basic use.
Windows Fixes & Known Issues
These are documented Windows-specific issues with known fixes:
A EPERM: operation not permitted, rename-style error appeared in the v2026.5 release when OpenClaw tried to move files on Windows. The patch and workaround are documented in the OpenClaw v2026.5 Voice, Caching & Fixes release notes.
The 5.12 update introduced a sandbox change that blocked access to the Windows home folder in some configurations. Workaround and fix are in the OpenClaw 5.12 Stability Fixes release notes.
Claude Cowork's local environment depends on the Windows Virtual Machine Platform feature, which needs administrator rights to enable. On managed/corporate laptops this feature is often disabled by IT policy. If you can't enable it, your options are: run inside WSL2 (which already uses the VM platform), use a Linux VPS, or switch to a CLI agent. Full details on the pre-flight checklist page.
Per-Platform Windows Notes
OpenClaw on Windows
OpenClaw installs on both native Windows and WSL2. WSL2 is recommended for multi-agent setups and anything involving file manipulation. The two known Windows bugs (rename error, sandbox block) above are fixed in recent releases. Start at the OpenClaw setup guide. If you hit problems, check the OpenClaw troubleshooting page and FAQ.
Hermes Agent on Windows
Hermes installs natively on Windows with its standard curl installer — WSL2 is not required, though some users prefer it. Telegram is the recommended messaging channel on Windows as on every OS. Start at the Hermes setup guide. For issues, see the Hermes troubleshooting page and FAQ.
Claude Cowork on Windows
Claude Cowork's local environment requires the Virtual Machine Platform feature — see the blocker note above. If you can enable it, the install proceeds normally. If you can't, use WSL2 or a CLI agent instead. The pre-flight checklist has the full rundown on what needs admin rights and what doesn't. Check the Claude Cowork FAQ for additional questions.
NemoClaw, IronClaw, Kilo Code on Windows
All three are CLI agents with standard Node.js installers. WSL2 is the easiest path. Follow the Linux instructions inside WSL2 for each: NemoClaw setup, IronClaw setup, Kilo Code setup.
Frequently Asked Questions
Can I run OpenClaw on Windows?
Yes. OpenClaw works on native Windows and inside WSL2. WSL2 gives the smoothest experience — Unix paths and package managers behave as the docs expect. See the OpenClaw setup guide.
Can I run Hermes Agent on Windows?
Yes. Hermes installs natively on Windows without WSL2. The curl installer and npm setup work in PowerShell. See the Hermes setup guide.
Why won't Claude Cowork install on Windows?
Claude Cowork's local environment requires the Virtual Machine Platform Windows feature, which requires administrator rights. On managed or work machines it may be disabled by IT policy. If you can't enable it, use WSL2 (which uses the same feature), a Linux VPS, or switch to OpenClaw or Hermes. Full details at /start/.
Do I need WSL2 to run AI agents?
Not for every agent. OpenClaw and Hermes work natively on Windows. WSL2 is strongly recommended to avoid file-path quirks, improve npm compatibility, and follow Linux-based guides directly. Claude Cowork requires the VM platform feature that WSL2 also uses.
How do I fix Windows rename or file-approval errors in OpenClaw?
Two known bugs: a rename error in v2026.5 (patch notes here) and a home-folder sandbox block in 5.12 (fix notes here). Both are fixed in current releases.
Where can I find more Windows troubleshooting help?
Start with the OpenClaw troubleshooting page, the Hermes FAQ, or the cross-platform troubleshooting hub. For OS-level issues, the pre-flight checklist covers the most common blockers before you even install.