Skip to content

[Bug]: Windows install fails and immediately closes Powershell #38054

@PwrSrg

Description

@PwrSrg

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

  1. Start a Windows Sandbox
  2. Open Powershell
  3. 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.
Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions