✅ Quick Fix (Try This First)
1 Close your terminal completely
2 Open a NEW terminal window
3 Try again:
clawdbot --version
Did it work? You're done! 🎉
Still Not Working?
Your PATH doesn't include npm's global bin folder. Here's how to fix it:
Step 1: Find where npm installs things
npm config get prefix
This will show something like /usr/local or /Users/yourname/.npm-global
Step 2: Add it to your PATH
Mac / Linux (zsh)
echo 'export PATH="$(npm config get prefix)/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
Mac / Linux (bash)
echo 'export PATH="$(npm config get prefix)/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Windows
Use WSL2 instead (recommended):
wsl --install
Then install ClawdBot inside Ubuntu.
Step 3: Try again
clawdbot --version
Still stuck? Try reinstalling:
npm install -g clawdbot
Related Problems
Was this helpful?
Let us know if this fixed your problem
Thanks for the feedback! We use this to improve our guides.