# Install OpenClaw on Windows with WSL2

Canonical: https://cwyn.com/pages/openclaw-guide-windows-wsl2-install.html
Last updated: 2026-11-26T20:45:51-05:00

OpenClaw operations guide

To install OpenClaw on Windows with WSL2, install Ubuntu from PowerShell. Inside Ubuntu, enable systemd, run the Linux installer and choose Quick start. Let onboarding install the Gateway as a background service, then open the dashboard and send a message to check for a model reply.

Last updated November 26, 2026 · Published November 19, 2026

By CWYN · Nov 26, 2026 · Checked against docs, not run · [WSL2 setup in the OpenClaw Windows guide](https://docs.openclaw.ai/platforms/windows#wsl2-gateway) and [OpenClaw first-run guide](https://docs.openclaw.ai/start/getting-started)

## 1. Install Ubuntu from PowerShell

In PowerShell, run `wsl --list --verbose`. If Ubuntu already shows version 2, open it and continue to step 2. For a new installation, run `wsl --install -d Ubuntu-24.04` in an administrator PowerShell window. Follow the Windows prompts, open Ubuntu and finish setting up your Linux user. The [OpenClaw Windows guide](https://docs.openclaw.ai/platforms/windows#wsl2-gateway) covers this manual WSL2 setup.

## 2. Enable systemd in Ubuntu

Inside Ubuntu, open `/etc/wsl.conf` with an editor that can save system files. Set `systemd=true` under `[boot]`. If the file already has a boot section, add or update the setting there and keep the other settings. Save your work in WSL, run `wsl --shutdown` from PowerShell, then reopen Ubuntu.

## 3. Run the Linux installer inside Ubuntu

Run the Linux installer in the Ubuntu terminal. It opens onboarding. Choose Quick start and follow the provider sign-in prompts if needed. When asked whether to keep OpenClaw running in the background, choose Yes to install the Gateway as a systemd user service.

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

## 4. Check the Gateway and send a test message

In Ubuntu, run `openclaw gateway status` and check that the Gateway is reachable. Run `openclaw dashboard` to open the Control UI. If the browser does not open, follow the terminal’s instructions and keep the link private. Send a short message in the chat and look for a reply.

## 5. Troubleshooting the WSL2 install

Ubuntu cannot find OpenClaw. If npm installed the CLI, its executable directory may be missing from your Ubuntu shell’s PATH. [Locate the npm launcher and check PATH in Ubuntu](https://cwyn.com/pages/openclaw-guide-command-not-found-after-npm-install.html). See the [official installation troubleshooting steps](https://docs.openclaw.ai/install#troubleshooting-openclaw-not-found).

The Gateway only runs while the terminal is open. If Quick start left the Gateway running there, press Ctrl+C to stop it. Run `openclaw gateway install` in Ubuntu, then `openclaw gateway start` and check the status again. If the status names a Windows Scheduled Task, [inspect the native Windows Gateway task](https://cwyn.com/pages/openclaw-guide-windows-gateway-scheduled-task-unknown.html). The [first-run guide](https://docs.openclaw.ai/start/getting-started) explains both service types.

The dashboard asks for pairing. [Match the pending Gateway request to your browser](https://cwyn.com/pages/openclaw-guide-gateway-device-pairing.html), then return to the chat.

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [How to resume interrupted OpenClaw onboarding](https://cwyn.com/pages/openclaw-guide-resume-interrupted-onboarding.html)
- [Install the OpenClaw macOS app and verify a reply](https://cwyn.com/pages/openclaw-guide-macos-app-first-install.html)
- [Uninstall OpenClaw and reinstall it cleanly](https://cwyn.com/pages/openclaw-guide-clean-reinstall.html)
- [OpenClaw dashboard 404 or missing Control UI assets](https://cwyn.com/pages/openclaw-guide-control-ui-assets-missing.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [CWYN Score](https://cwyn.com/pages/score.html)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)

### Test a private channel from WSL2

After the WSL2 Gateway answers in the dashboard, use the Telegram pairing checklist in the [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html), an optional paid kit, to verify the first private channel reply.
Kit details as of Nov 18, 2026

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.
