Skip to content
Caution

Install the latest OpenClaw CLI globally

Downloads the newest supported OpenClaw command-line tool and makes it available system-wide.

npm i -g openclaw@latest
Install and first runMacLinuxWindows

What it does

Downloads the newest supported OpenClaw command-line tool and makes it available system-wide.

When to use it

Use it during first-time setup, after cleaning an old install, or when a guide tells you to update the local CLI.

What happens next

npm installs or updates the global `openclaw` package. After it finishes, the `openclaw` command should be available in your terminal.

Risk warning

Caution. It changes the global CLI on this machine, so do not run it on a Docker or VPS deployment that uses a different update path.

Related guides