logoalt Hacker News

CameronBangayesterday at 6:37 PM5 repliesview on HN

Maybe I'm the only one, but does anyone else have an issue on macOS where Claude Code never updates itself automatically and you always have an error? I guess it's in times when I leave the CLI tool running and an update comes in overnight. But the alert seems to indicate it should update and fails.


Replies

Arubisyesterday at 6:42 PM

Depends on your installation method. I have CC installed on macOS with `bun install` and it self-updates. But you could have different results with, oh, npm or yarn or homebrew or nix or probably asdfvm or maybe there’s a native .pkg I don’t know about or…you get the idea.

fahrradfluchtyesterday at 6:42 PM

I have the same issue since for ever (and update by hand because of it). I always assumed it is because it gets confused by me using Volta for node/npm version management and Volta‘s shim masking where Claude Code is globally installed.

cube2222yesterday at 6:44 PM

Yeah, I uninstalled and reinstalled with homebrew, and it’s working well now.

fabbbbbyesterday at 6:45 PM

Always have a lot of sessions running locally and don’t recall this

mokkolyesterday at 6:41 PM

Uninstall it and install it via home brew fixed it for me.