Check your version
v24.x.x or higher, you’re on the recommended default. If it prints v22.16.x or higher, you’re on the supported Node 22 LTS path, but we still recommend upgrading to Node 24 when convenient. If Node isn’t installed or the version is too old, 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