-
-
Notifications
You must be signed in to change notification settings - Fork 69.5k
[Bug]: Windows install fails and immediately closes Powershell #38054
Description
Bug type
Crash (process/app exits or hangs)
Summary
When trying to install OpenClaw on a FRESH Windows 11 install, the installer fails and immediately closes Powershell before allowing the user to read the reason for failure.
Steps to reproduce
- Start a Windows Sandbox
- Open Powershell
- Run
iwr -useb https://openclaw.ai/install.ps1 | iex
Expected behavior
Upon ANY outcome, success or failure, the installer should NEVER close Powershell on its own.
Actual behavior
Upon any outcome, success or failure, the installer immediately closes Powershell before allowing the user to read the output.
I had to use screen recording software at 120FPS just to capture the error:
Error: Could not find a package manager (winget, choco, or scoop)
Please install Node.js 22+ manually:
https://nodejs.org/en/download/
Or install winget (App Installer) from the Microsoft Store.
OpenClaw version
Latest
Operating system
Windows 11
Install method
iwr -useb https://openclaw.ai/install.ps1 | iex
Logs, screenshots, and evidence
Impact and severity
Affected: All Windows users
Severity: High
Frequency: 100% repro
Consequence: User is unable to install OpenClaw, and isn't given a reason WHY
Additional information
NOTE - ALL install failures immediately close Powershell before allowing the user to read the reason for failure. This is undesirable behavior. The installer should ALWAYS let the user "Hit any key to exit...". It should also NEVER close Powershell on its own.