This comprehensive guide walks you through the complete process to install OpenClaw on any platform. Follow these detailed steps to get your personal AI assistant running in minutes.
OpenClaw requires Node.js version 22 or higher to run. Check your version:
node --version
If you don't have Node.js 22+, follow Step 1 below.
npm comes bundled with Node.js. Verify it's installed:
npm --version
You should see version 9 or higher.
You'll need API keys for at least one AI model provider:
OpenClaw requires Node.js version 22 or newer. Choose your platform below for installation instructions:
Download the installer from nodejs.org
After installing Node.js, verify it's working:
node --version
npm --version
You should see Node.js v22.x.x or higher and npm v9.x.x or higher.
Once Node.js is installed, use npm to install OpenClaw globally on your system:
npm install -g openclaw@latest
npm install - npm package installation command-g - Install globally (accessible from anywhere)openclaw - The OpenClaw package name@latest - Install the latest version (v2026.2.6)The installation may take 1-2 minutes. You'll see progress output:
npm info using [email protected] npm info using [email protected] ... added 523 packages in 45s ✓ OpenClaw installed successfully
If you get EACCES permission errors on macOS/Linux:
sudo npm install -g openclaw@latest
Or fix npm permissions: See troubleshooting guide →
After installation, run the onboarding wizard to configure OpenClaw:
openclaw onboard
Select your preferred AI model:
Paste your API key when prompted. The wizard will validate it.
Choose how you want to interact with OpenClaw:
Set preferences like workspace location and default settings.
The wizard creates your configuration file and sets up your workspace. You're ready to start OpenClaw!
Launch OpenClaw with a single command:
openclaw start
🦞 OpenClaw v2026.2.6 starting... ✓ Configuration loaded ✓ AI model connected (Claude Opus 4.6) ✓ Web interface ready → http://127.0.0.1:18789/ Press Ctrl+C to stop
Open your browser and navigate to:
http://127.0.0.1:18789/
You'll see the OpenClaw dashboard where you can chat with your AI assistant.
Check that OpenClaw is installed correctly:
openclaw --version
Should output: v2026.2.6
Once OpenClaw is running, try these starter prompts:
OpenClaw comes with powerful features: