Installing OpenClaw on Any Operating System
Step-by-step installation guide for OpenClaw on macOS, Linux, and Windows (WSL2).
Prerequisites
Before installing OpenClaw, ensure you have:
- Node.js 20+ — OpenClaw is a Node.js application
- npm or pnpm — Package manager for installation
- A messaging account — At least one channel (Telegram, WhatsApp, etc.)
- An AI model API key — From OpenRouter, Anthropic, OpenAI, or Google
Installation
macOS & Linux
Open your terminal and run:
npm install -g openclaw
Or with pnpm:
pnpm install -g openclaw
Windows
OpenClaw runs on Windows through WSL2 (Windows Subsystem for Linux):
- Install WSL2 if you haven't:
wsl --install - Open your WSL terminal
- Install Node.js via nvm or your preferred method
- Run:
npm install -g openclaw
Verify Installation
After installation, verify it works:
openclaw --version
Running the Onboarding Wizard
The easiest way to configure OpenClaw is the built-in wizard:
openclaw onboard
This interactive wizard walks you through:
- Setting up your workspace directory
- Configuring your first channel
- Selecting an AI model and entering your API key
- Installing recommended skills
- Testing the connection
Alternative: Claw for All
If you prefer not to manage installation yourself, Claw for All handles everything. Sign up, subscribe, and get a fully managed OpenClaw instance with zero terminal work. Your instance runs on a dedicated cloud VM with automatic updates and monitoring.
Ready for your AI assistant?
Get started with Claw for All today. No setup, no terminal, just sign up and go.
Get StartedRelated Guides
What Is OpenClaw? A Complete Beginner's Introduction
Learn what OpenClaw is, how it differs from other AI assistants, and why running your own personal AI agent matters.
How OpenClaw Works: Architecture and Core Concepts
Understand OpenClaw's gateway architecture, message routing, and how channels connect to AI models.
Using the OpenClaw Onboarding Wizard
A walkthrough of the openclaw onboard command that configures channels, models, and skills.