Install Open Claw quickly with npm, configure using the onboard wizard, and start your AI agent in under 10 minutes. This guide covers installation for macOS, Linux, and Windows.
Before installing Open Claw, ensure your system meets these requirements:
node --version)Check your Node.js and npm versions:
node --version
npm --version
Follow these steps to install and configure Open Claw in under 10 minutes:
Install OpenClaw globally using npm:
npm install -g openclaw@latest
This downloads and installs the latest Open Claw package from npm registry.
Launch the OpenClaw configuration wizard:
openclaw onboard
The wizard will guide you through:
Launch your Open Claw agent:
openclaw start
OpenClaw will initialize and begin listening for messages. The Web UI becomes available at http://127.0.0.1:18789/
Test your Open Claw installation:
openclaw agent "Hello, this is a test message"
If configured correctly, your Open Claw agent will respond to your message.
Besides npm, you can install Open Claw using these alternative methods:
curl -fsSL https://openclaw.ai/install.sh | bash
iwr https://openclaw.ai/install.ps1 -useb | iex
git clone https://github.com/openclaw/openclaw.git
cd openclaw
npm install
npm link
Detailed installation instructions for each operating system:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install node@22
node --version # Should show v22.x.x
npm install -g openclaw@latest
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version # Should show v22.x.x
npm install -g openclaw@latest
node --version # Should show v22.x.x
npm --version
npm install -g openclaw@latest
After installing Open Claw, complete these configuration steps:
Confirm your Open Claw installation is working correctly:
openclaw --version
Should display v2026.2.6 or later
openclaw info
Shows configuration and status
openclaw models list
Shows configured AI models
openclaw skills list
Shows installed capabilities
Open Claw provides a local web interface for management and monitoring:
http://127.0.0.1:18789/⚠️ Security Warning: Do NOT expose the web interface publicly. Keep it on localhost (127.0.0.1) only.
Common installation issues and their solutions:
Symptom: "OpenClaw requires Node.js 22 or higher"
Solution: Update Node.js to version 22 or higher. Use nvm (Node Version Manager) or download from nodejs.org.
Symptom: npm install fails with permission errors
Solution: Configure npm to use a directory you own, or use nvm to manage Node.js. Never use sudo with npm.
Symptom: Command not found after installation
Solution: Ensure npm global bin directory is in your PATH. Restart terminal or add to PATH manually.
Symptom: OpenClaw fails to start, port conflict
Solution: Stop other services using port 18789, or configure OpenClaw to use a different port.
Symptom: Agent doesn't respond to messages
Solution: Run openclaw onboard again to reconfigure API keys. Ensure keys are valid and have sufficient credits.