Work in Progress: This troubleshooting guide may be incomplete or outdated.

⚠️ Node.js Version Error

ClawdBot needs Node.js 22 or newer

← Back to Help

✅ Quick Fix

# Install nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

# Close and reopen terminal, then:
nvm install 22
nvm use 22

# Check it worked
node --version

Should show v22.x.x or higher.

Check Your Current Version

node --version

If it shows v18, v20, or lower, you need to upgrade.

Already Have nvm?

Just run:

nvm install 22
nvm use 22
nvm alias default 22

The last command makes Node 22 your default.

Windows Users

We recommend using WSL2 (Windows Subsystem for Linux):

wsl --install

Then install Node.js inside Ubuntu using the commands above.

Or download Node.js directly from nodejs.org (choose LTS 22.x)

After upgrading: Run npm install -g clawdbot again to reinstall ClawdBot with the new Node version.

Related Problems

Was this helpful?

Share This Fix

Ask an AI for more help