Skip to content

[Feature]: Supports Windows 11 MSYS environment and Fishshell. #18985

@ahaoboy

Description

@ahaoboy

Summary

Windows 11 msys2 is a Unix-like environment that supports tools such as bash and fish.

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

  🦞 OpenClaw Installer
  End-to-end encrypted, Zuck-to-Zuck excluded.

· gum skipped (unsupported os/arch (unsupported/x86_64))
✗ Unsupported operating system
This installer supports macOS and Linux (including WSL).
For Windows, use: iwr -useb https://openclaw.ai/install.ps1 | iex

When using fishshell to execute the installation script, a message appears indicating that the corresponding fish configuration file is missing.

WARN PATH missing npm global bin dir: /root/.local/share/fnm/node-versions/v24.13.0/installation/bin
  This can make openclaw show as "command not found" in new terminals.
  Fix (zsh: ~/.zshrc, bash: ~/.bashrc):
    export PATH="/root/.local/share/fnm/node-versions/v24.13.0/installation/bin:$PATH"

Problem to solve

The installation script and OpenClaw can be executed in the msys2 environment using Unix-like commands.

Proposed solution

Comment out the following commands and rerun the script to install and run OpenClaw.

    # if [[ "$OS" == "unknown" ]]; then
    #     ui_error "Unsupported operating system"
    #     echo "This installer supports macOS and Linux (including WSL)."
    #     echo "For Windows, use: iwr -useb https://openclaw.ai/install.ps1 | iex"
    #     exit 1
    # fi

Alternatives considered

No response

Impact

Developers using the msys2 and Unix environments on the Windows platform

Evidence/examples

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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