OpenClaw is a powerful tool for building AI workflows, but setting it up on Windows can be confusing for beginners. This guide walks you through the main installation methods so you can get started quickly.
Table of contents
Before diving into the steps, here is a quick overview of the three ways to install OpenClaw on Windows. Each method has different trade-offs in terms of setup time, feature coverage, and technical requirements.
| PowerShell | WSL2 | Kimi Claw (Online) | |
|---|---|---|---|
| How it works | Native Windows installer via command line | Full Linux environment inside Windows | An online tool that lets users run OpenClaw without local setup |
| Setup complexity | Low to medium, requires running commands and following setup steps | High, requires Linux setup, system configuration, and dependencies | Very low, no setup required |
| Code or terminal required | Yes | Yes | No |
| Always-on availability | Only while your PC is running | Only while WSL is running | Available 24/7, runs on cloud servers |
| Best for | Developers comfortable with CLI | Developers needing full Linux environment | Non-technical users & teams |
Kimi Claw is an online tool that lets you run OpenClaw in your browser. It handles setup and configuration automatically, so you do not need Node.js, WSL, or API key setup. You can start using a ready-to-use agent within minutes.
For a local PowerShell or WSL2 setup, scroll down to Method 1 or Method 2. To skip local installation entirely, jump to Method 3: Kimi Claw. If you want to get started faster, you can begin right away.
If you plan to install OpenClaw locally, make sure your system meets the following requirements. If you choose the cloud option like Kimi Claw, you can skip this section entirely.
BIOS/UEFINode.js 22 or higher. OpenClaw requires a modern Node.js runtime. Download it from nodejs.org or install via the onboarding script.Compared to WSL2, the PowerShell method requires fewer steps and no Linux environment. A single command downloads OpenClaw, checks your Node.js version, and launches the onboarding wizard. This method works on both Windows 10 and Windows 11.
Windows restricts script execution by default to protect your system. Before installing OpenClaw, you must allow PowerShell to execute local scripts by running this "safety switch" command:
Then, run the following command:
After running the command, you should see output similar to the screenshot below. Close and reopen PowerShell to refresh your system PATH before proceeding to onboarding.
Select Yes to acknowledge the risk and continue.
Next, select QuickStart to quickly start onboarding. You can adjust settings later, or choose Manual for full configuration.
To connect OpenClaw, activate your Kimi API Key via the Kimi Platform. While a $5 recharge earns you a $5 bonus voucher, we recommend $20+ to unlock Tier 2 access. This reduces latency and ensures that your OpenClaw agent handles complex, multi-step tasks.
Access the API Keys section and click Create API Key. Note that you should keep your API Key in a secure and accessible place. It only shows once when you create it.
When the onboarding wizard prompts you, paste your unique API key into the PowerShell/Terminal window.
When asked to choose a default model, select moonshot/kimi-k2.5 (or choose "Keep current" if it's already highlighted). This model provides the best balance of speed and reasoning for agentic tasks.
Choose which app you want to connect to your OpenClaw. If you have no idea, just skip it.
Choose a method to chat with your bot, then wait for it to start running.
After all the above is done, enjoy your OpenClaw.
OpenClaw WSL2 setup provides a full Linux environment inside Windows, which is the officially recommended way to run OpenClaw. This method gives you access to the complete feature set, including systemd daemon management, native shell scripting, and smoother npm builds. If you plan to use OpenClaw on Windows for daily workflows or development, OpenClaw WSL is the best choice.
Open PowerShell as Administrator and run:
This command enables WSL, downloads Ubuntu, and installs it. After the process completes, restart your computer. When Windows reboots, Ubuntu will launch and ask you to create a username and password.
If you already have WSL installed, verify it is running version 2:
systemd OpenClaw runs as a background service using systemd. Enable it in your WSL configuration:
Then restart WSL from PowerShell:
Reopen your Ubuntu terminal and verify systemd is running:
The output should show systemd. If it shows init instead, double-check your /etc/wsl.conf file.
Node.js 22+ OpenClaw requires Node.js 22 or later. Install it from the NodeSource repository:
Verify the installation:
With Node.js ready, install OpenClaw globally:
Alternatively, use the official installer script:
Verify the installation:
Run the onboarding wizard using the daemon flag to set up OpenClaw as a systemd service:
The wizard will guide you through:
After onboarding, enable service persistence, so OpenClaw starts automatically when WSL boots:
The gateway is the core background service that handles all OpenClaw operations, including agent requests, messaging, and model execution. Ensuring it is running confirms that your OpenClaw installation is complete and ready for use, and prevents errors in subsequent steps.
Run the following command in your PowerShell or WSL terminal to check its status:
If managing Node.js, WSL, and API keys feels like more setup than you need, Kimi Claw offers a simpler way to run OpenClaw. It lets you run OpenClaw directly in your browser without local setup or manual configuration. To get started, follow these steps:
Go to the Kimi Claw page and click Create to start.
Confirm the deployment in the pop-up. Kimi Claw sets up your OpenClaw environment in about two minutes, including the gateway, workspace, and tools. No commands or manual configuration are required.
Once deployment finishes, your workspace opens in the dashboard. You can start chatting with your AI agent, set up skills, configure scheduled tasks, and manage files all from the browser.
Kimi Claw automatically handles security and networking on cloud servers. If you prefer to install OpenClaw locally with PowerShell or WSL2, there are a few recommended security settings to configure after installation.
When the OpenClaw gateway starts for the first time, Windows Firewall may prompt you to allow network access. Allow it for private networks only. If you are using OpenClaw WSL2, the gateway runs inside the Linux environment and communicates through localhost, so additional firewall rules are usually not needed.
If Browser Relay or other features cannot connect, make sure that localhost traffic is not being blocked by third-party security software such as antivirus programs, VPN clients, or corporate firewalls.
The OpenClaw Control UI runs on port 18789 and provides full access to your agent. Never expose this port to the public internet. Keep the gateway bound to 127.0.0.1 and access it only from your local machine.
For secure remote access, use Tailscale to create a private network tunnel:
This keeps the port on localhost while making it accessible through your private Tailscale network.
Even with a clear guide, you may run into issues during installation. Below are the most frequently reported problems when installing OpenClaw on Windows and how to fix them.
PATH.Add the output path with \bin appended to your Windows environment variables. Then close and reopen PowerShell.
Port 18789 is already in use, or the configuration file is corrupted./etc/wsl.conf file is missing the systemd configuration.If the setting is missing, add it and restart WSL with wsl --shutdown in PowerShell.
Installing OpenClaw on Windows can range from a simple script-based setup to a more advanced WSL2 environment, depending on your needs. If you want full control and flexibility, PowerShell and WSL2 are solid options. If you prefer to skip setup and start immediately, Kimi Claw lets you run OpenClaw in your browser without local setup. Choose the approach that fits your workflow and technical comfort level, and you will be ready to get the most out of OpenClaw.