Chapter 03

Install OpenClaw

The install

This is the moment of truth. Open your terminal and run one command.

Mac / Linux

curl -fsSL https://openclaw.ai/install.sh | bash

**What this does:** Downloads the OpenClaw installer and runs it. It will:

  • Install the `openclaw` command-line tool
  • Set up the necessary directories
  • Tell you if anything's missing

Windows (PowerShell)

iwr -useb https://openclaw.ai/install.ps1 | iex

**Same thing, Windows flavor.** Run this in PowerShell (not Command Prompt).

Alternative: npm install

If you're more comfortable with npm (or the install script doesn't work):

npm install -g openclaw@latest

Verify it worked

openclaw --version

You should see a version number. If you see "command not found," something went wrong — jump to the [troubleshooting chapter](/guide/troubleshooting).

That's it

No, really. One command. The install is the easy part. The fun starts next.