#Cannot use Openclaw command after update
6 messages Β· Page 1 of 1 (latest)
That usually means the update finished, but your shell canβt find the OpenClaw binary anymore, most often a PATH issue.
Can you paste these?
openclaw --version
node -v
which openclaw
echo "$PATH"
Also, what OS are you on, and how did you install/update it (installer script, pnpm global, source checkout, etc.)?
If you use nvm/fnm/asdf, a very common cause is that the version manager stopped loading in ~/.bashrc or ~/.zshrc, so the bin dir never gets added to PATH.
Docs Iβm checking against:
https://docs.openclaw.ai/help/faq
I'm using MacOs
Here's the output:
zsh: command not found: openclaw
v25.8.1
openclaw not found
/Users/ava/.local/bin:/Users/ava/.antigravity/antigravity/bin:/Users/ava/.npm-global/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/Users/ava/.cargo/bin:/Users/ava/.lmstudio/bin
Yep, this helps.
Your PATH already includes the usual macOS bin dirs, so this does not look like a PATH issue anymore. It looks like the openclaw wrapper itself is missing.
Fastest fix, rerun the installer:
curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard
That should recreate the CLI wrapper in a path your shell already sees.
If you originally installed with pnpm and want to stick with that route instead:
pnpm add -g openclaw@latest
pnpm approve-builds -g
Then open a fresh terminal and run:
openclaw --version
openclaw status
If it still says not found, paste these too:
ls -l ~/.local/bin/openclaw ~/.npm-global/bin/openclaw ~/.openclaw/bin/openclaw 2>/dev/null
npm prefix -g