#Can't install openclaw on Windows
1 messages · Page 1 of 1 (latest)
That looks like a bundled plugin dependency issue, not something you misconfigured. The missing package is for the Feishu/Lark plugin.
First, can you paste:
openclaw --version
Then try:
openclaw doctor --fix
openclaw onboard
If doctor also blows up, or you're on an older build, refresh the install and retry:
openclaw update
# or, if you installed via npm:
npm i -g openclaw@latest
openclaw doctor --fix
openclaw onboard
If native Windows keeps being cursed, WSL2 is still the more reliable path:
https://docs.openclaw.ai/platforms/windows
Relevant docs:
https://docs.openclaw.ai/help/faq
https://docs.openclaw.ai/cli/doctor
https://docs.openclaw.ai/install/updating
If it still fails, paste the output of openclaw --version and openclaw doctor --fix and I’ll narrow it down.
🦞 OpenClaw 2026.4.21 (f788c88)
T OpenClaw doctor
|
o Gateway ----------------------------------------------------------+
| |
| gateway.mode is unset; gateway start will be blocked. |
| Fix: run openclaw configure and set Gateway mode (local/remote). |
| Or set directly: openclaw config set gateway.mode local |
| |
+--------------------------------------------------------------------+
|
o State integrity ---------------------------------------------------------------+
| |
| - OAuth dir not present (~.openclaw\credentials). Skipping create because no |
| WhatsApp/pairing channel config is active. |
Gateway ------------------------------------------------------------------------------+
| |
| Runtime: stopped (state Ready, last run 267014, last run time 4/22/2026 10:01:24 AM, |
| Task Last Run Result=267014; treating as not running.) |
| Service is loaded but not running (likely exited immediately). |
| File logs: C:\Users\dell\AppData\Local\Temp\openclaw\openclaw-2026-04-22.log |
| Logs: schtasks /Query /TN "OpenClaw Gateway" /V /FO LIST |
| Restart attempts: C:\Users\dell.openclaw\logs\gateway-restart.log |
Nice, that helps. I think you’ve got two separate things here:
- The real crash is the missing Feishu/Lark runtime dep (
@larksuiteoapi/node-sdk) gateway.mode is unsetis probably just fallout from onboarding dying halfway through
Since you’re on 2026.4.21, I’d update first. A bunch of bundled-plugin runtime-deps fixes landed right around this area.
Try this in order:
openclaw update
openclaw config set gateway.mode local
openclaw doctor --fix
openclaw onboard
If openclaw update fails, use:
npm i -g openclaw@latest
openclaw config set gateway.mode local
openclaw doctor --fix
openclaw onboard
If it still explodes, paste these next:
- the output of
openclaw doctor --fix - the first ~50 lines from
C:\Users\dell\AppData\Local\Temp\openclaw\openclaw-2026-04-22.log
Docs:
https://docs.openclaw.ai/install/updating
https://docs.openclaw.ai/cli/doctor
https://docs.openclaw.ai/platforms/windows
If native Windows keeps fighting you after that, I’d switch to WSL2. It’s still the smoother path on Windows.