Check your version
v24.x.x or higher is the recommended default. v22.19.x or higher is the supported Node 22 LTS path (upgrade to Node 24 when convenient). Node 23 builds before v23.11.0 are unsupported. If Node is missing or outside the supported range, pick an install method below.
Install Node
- macOS
- Linux
- Windows
Using a version manager (nvm, fnm, mise, asdf)
Using a version manager (nvm, fnm, mise, asdf)
Troubleshooting
openclaw: command not found
This almost always means npm’s global bin directory isn’t on your PATH.
Check if it's on your PATH
<npm-prefix>/bin (macOS/Linux) or <npm-prefix> (Windows) in the output.Permission errors on npm install -g (Linux)
If you see EACCES errors, switch npm’s global prefix to a user-writable directory:
export PATH=... line to your ~/.bashrc or ~/.zshrc to make it permanent.
Related
- Install Overview - all installation methods
- Updating - keeping OpenClaw up to date
- Getting Started - first steps after install