BoringtecVN

WSL2 & OpenClaw

What is WSL2 and why do you need it?

WSL2 (Windows Subsystem for Linux 2) lets you run Linux directly on Windows without a separate virtual machine. WinWraper uses WSL2 to run OpenClaw, an AI gateway that connects AI providers (OpenAI, Anthropic, Gemini, Ollama...) with AI tools on Windows.


WSL2 Manager Wizard

WinWraper includes a WSL2 Manager Wizard so you can manage WSL2 without using the command line.

To open it: in the Service List window, click ⚡ Quick Add ▾ on the toolbar and choose WSL2 Manager.

Available tasks

TaskDescription
Install a new distroDownload and install Ubuntu or another distro
Remove a distroCompletely delete a WSL2 distro
Disable WSLDeactivate the WSL feature on Windows

⚠️Warning

Removing a distro permanently deletes all data inside it and cannot be undone. Back up any important files before proceeding.


OpenClaw Setup Wizard

OpenClaw is an AI gateway running inside WSL2 that connects AI providers to MCP and AI tools on Windows. WinWraper provides a step-by-step wizard for a complete installation.

To open it: in the Service List window, click ⚡ Quick Add ▾ on the toolbar and choose OpenClaw Gateway.

LIVE DEMO

OpenClaw Gateway running in WinWraper

After installation, OpenClaw Gateway appears in the service list with a live connection health indicator.

Win Wraper, Instance List
Hide disabled
#NameExecutablePIDPortTypeStatusUptimeCPURAMCrashesWindows ServiceAuto-RestartHealth
1OpenClaw Gatewayopenclaw265763100Console● Running8h 45m0.1%371 MB0Online
1/1 running · last updated 16:06:28

Wizard steps

  1. Check WSL2, Ensure WSL2 is enabled and Ubuntu is installed.
  2. Install Node.js in WSL2, Use the NPM-in-WSL Wizard if Node.js is not yet installed.
  3. Install OpenClaw, Automatically downloads and installs OpenClaw inside Ubuntu.
  4. Choose an AI provider, Select the provider and model you want to use:
    • OpenAI (GPT-4o, GPT-5...)
    • Anthropic (Claude 4 Opus/Sonnet/Haiku)
    • Google Gemini
    • DeepSeek
    • OpenRouter
    • Ollama (runs locally, no internet required)
  5. Enter your API key / token, Varies by provider.
  6. Register the gateway, OpenClaw is automatically added as a WinWraper service.

ℹ️Note

Once installed, the OpenClaw gateway appears in WinWraper's Service List and is managed like any other service, WinWraper will restart it automatically if the gateway encounters an issue.


NPM-in-WSL Wizard

If your WSL2 distro doesn't have Node.js yet, this wizard installs it for you.

To open it: in the Service List window, click ⚡ Quick Add ▾ on the toolbar and choose NPM in WSL.

  1. Select the WSL2 distro that needs Node.js.
  2. The wizard automatically downloads and installs Node.js (LTS) inside that distro.

OpenClaw Manager

After installation, use OpenClaw Manager to change configuration without reinstalling:

  • Change AI provider
  • Change model
  • Update API key / token
  • Change gateway port

To open it: in the Service List window, right-click the OpenClaw service → Manage OpenClaw.


Uninstalling OpenClaw

To open it: in the Service List window, click ⚡ Quick Add ▾ on the toolbar and choose OpenClaw Uninstall.

The wizard will:

  1. Stop and remove OpenClaw from the WinWraper service list.
  2. Uninstall OpenClaw from the WSL2 distro.

Next: MCP / AI Agent Integration →