💿 Installation
Install OpenClaw
Get OpenClaw running on your machine in 2 minutes. Works on Mac, Linux, and Windows.
⚡ Quick Install (Mac/Linux)
curl -fsSL https://get.openclaw.ai | bashInstallation by Platform
🍎
macOS
RecommendedOne-Line Install (Recommended)
curl -fsSL https://get.openclaw.ai | bashHomebrew
brew install openclawnpm
npm install -g openclaw🐧
Linux
One-Line Install (Recommended)
curl -fsSL https://get.openclaw.ai | bashnpm
npm install -g openclawFrom Source
git clone https://github.com/openclaw/openclaw.git
cd openclaw
npm install
npm run build
npm link🪟
Windows (WSL)
Via WSL2 (Recommended)
# Install WSL2 first, then in Ubuntu:
curl -fsSL https://get.openclaw.ai | bashnpm (PowerShell)
npm install -g openclawPrerequisites
🟢 Node.js 20+
🔑 API Key
You'll need a Claude or OpenAI API key.
Verify Installation
After installing, verify OpenClaw is working:
# Check version
openclaw --version
# Run setup wizard
openclaw setup
# Start OpenClaw
openclaw startIf you see the version number, you're good to go! Run openclaw setup to configure.
Common Issues
command not found: openclaw
Restart your terminal, or add npm bin to PATH: export PATH="$PATH:$(npm bin -g)"
EACCES: permission denied
Don't use sudo with npm. Fix permissions: sudo chown -R $(whoami) ~/.npm
Node version too old
Upgrade Node.js to v20+. Use nvm: nvm install 20 && nvm use 20
curl: command not found (Windows)
Use WSL2 for best experience, or install curl via chocolatey: choco install curl
Uninstall
# Remove OpenClaw
npm uninstall -g openclaw
# Remove config (optional)
rm -rf ~/.openclawNext Steps
Skip the Installation Hassle?
Get a pre-installed Mac Mini with OpenClaw ready to go. Use code OPENCLAW15 for 15% off.