Hacker News new | ask | show | jobs
by CameronBanga 175 days ago
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.
6 comments

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.
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.
Yeah, I uninstalled and reinstalled with homebrew, and it’s working well now.
Always have a lot of sessions running locally and don’t recall this
Uninstall it and install it via home brew fixed it for me.
I removed the locks directory which fixed it