🦞OpenClaw Guide
💿 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 | bash

Installation by Platform

🍎
macOS
Recommended

One-Line Install (Recommended)

curl -fsSL https://get.openclaw.ai | bash

Homebrew

brew install openclaw

npm

npm install -g openclaw
🐧
Linux

One-Line Install (Recommended)

curl -fsSL https://get.openclaw.ai | bash

npm

npm install -g openclaw

From 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 | bash

npm (PowerShell)

npm install -g openclaw

Prerequisites

🟢 Node.js 20+

Required for running OpenClaw.

node --version  # Should be 20+
Download Node.js →
🔑 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 start

If 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 ~/.openclaw

Next Steps

Skip the Installation Hassle?

Get a pre-installed Mac Mini with OpenClaw ready to go. Use code OPENCLAW15 for 15% off.