#How to set up OpenClaw on Windows

1 messages · Page 1 of 1 (latest)

alpine sentinel
#

How to set up OpenClaw on Windows

craggy elmBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

fleet harborBOT
#

On Windows, the recommended setup is WSL2 (Ubuntu) — it avoids a bunch of native Windows PATH / terminal / binary weirdness and matches the “real” Linux install path.

Docs to keep open:

Recommended: WSL2 install (Ubuntu)

1) Install WSL2 + Ubuntu

In PowerShell (Admin):

wsl --install
# or explicitly:
wsl --install -d Ubuntu-24.04

Reboot if prompted.

#

2) Enable systemd (needed for the gateway service install)

In your WSL Ubuntu shell:

sudo tee /etc/wsl.conf >/dev/null <<'EOF'
[boot]
systemd=true
EOF

Back in PowerShell:

wsl --shutdown

Re-open Ubuntu and verify:

systemctl --user status
#

3) Install OpenClaw (inside WSL)

You can either follow the full guide, or do the quick path from the FAQ:

Quick path (recommended):

curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon

Then open the dashboard (usually):

  • http://127.0.0.1:18789/

Keeping it running 24/7 on Windows

If you want the gateway to auto-start even before you log into Windows, the Windows doc has a step-by-step using loginctl enable-linger + a Windows Scheduled Task:

If you insist on native Windows (not WSL2)