Skip to content
CLAWDBOOK
Popular searches
Private, static site search Open
InstallationGuides
Browse the OpenClaw handbook

Install OpenClaw on Windows

Choose between Windows Hub, the PowerShell installer, and WSL2, then verify the OpenClaw Gateway without mixing environments.

Last verified
August 9, 2026
Reviewed against
OpenClaw 2026.7.1-2 documentation
Difficulty
Beginner
Time
~10 minutes
Verified against the official documentation listed below

Windows has three supported starting points: the native Windows Hub app, the PowerShell CLI installer, or a WSL2 Gateway. Choose one primary environment and keep its configuration, terminal, and service together.

Option 1: PowerShell installer

Open PowerShell and run:

iwr -useb https://openclaw.ai/install.ps1 | iex

Then complete onboarding:

openclaw onboard --install-daemon

Native Windows installs use a Scheduled Task first, with a per-user Startup-folder fallback when task creation is denied.

Option 2: Windows Hub

Windows Hub provides setup, tray status, chat, node mode, and local MCP features in a desktop interface. It is a good choice when you want a native UI and do not need a Linux-first workflow.

Option 3: WSL2

Use WSL2 when the rest of your agent tooling already lives in Linux. Run the macOS/Linux installer inside the WSL distribution, not in PowerShell, and keep the Gateway service inside that same environment.

Verify the chosen environment

Run these commands in the same shell where you installed OpenClaw:

openclaw --version
openclaw doctor
openclaw gateway status

Expected result

The CLI resolves in that shell, doctor finds no blocking issue, and the Gateway runtime is running. If PowerShell finds the command but WSL does not—or the reverse—you likely installed into only one environment. That is expected; pick the environment you intend to operate.

Source notes

Technical facts on this page were checked against primary sources.

Related guides