Quick Install
Choose your platform and get started with one command
How to install OpenClaw on macOS or Linux: Run the official installer script. It automatically detects your system, installs Node.js 22+ if needed, and sets up OpenClaw globally.
curl -fsSL https://openclaw.ai/install.sh | bash openclaw onboard --install-daemon How to install OpenClaw on Windows: Run the PowerShell installer script. It installs Node.js via winget/Chocolatey/Scoop and sets up OpenClaw globally.
iwr -useb https://openclaw.ai/install.ps1 | iex openclaw onboard --install-daemon How to install OpenClaw with Docker: Use Docker Compose for a containerized setup. Ideal for isolated environments or VPS deployments.
./docker-setup.sh How to install OpenClaw via npm: If you already have Node.js 22+, install OpenClaw globally with npm. Simple and straightforward.
npm install -g openclaw@latest openclaw onboard --install-daemon How to install OpenClaw with Nix: Use nix-shell for a reproducible, declarative installation. Perfect for NixOS users.
nix-shell -p openclaw How to install OpenClaw from source: Clone the GitHub repo and build locally. For contributors and developers who want the latest features.
git clone https://github.com/openclaw/openclaw.git cd openclaw && pnpm install && pnpm build openclaw onboard --install-daemon