Expand description
Self-update command.
Downloads the latest claudex release from GitHub, verifies its SHA-256
checksum against SHA256SUMS, and atomically swaps the running binary —
but only when the binary was installed somewhere we can write. If it came
from Nix, cargo, or Homebrew, we print the correct upgrade recipe for that
channel instead of clobbering a store path.
The tag of the latest release is resolved by following the redirect on
/releases/latest with curl -sLI, so we never hit api.github.com and
therefore never trip its unauthenticated rate limit — same trick
install.sh uses.