claudenv upgrade
Upgrade claudenv to a specific release or the latest version.
Usage
claudenv upgrade latest # latest GitHub release
claudenv upgrade v1.2.3 # specific version tag
What it does
- Downloads
claudenv.shfrom the specified GitHub release - Verifies the SHA256 checksum against
SHA256SUMS(if available for that release) - Backs up the current
claudenv.shtoclaudenv.sh.bak - Replaces
~/.claudenv/claudenv.shwith the new version - Writes the version tag to
~/.claudenv/version
After upgrading, reload your shell to apply the update:
source ~/.claudenv/claudenv.sh
Requirements
curl or wget must be available (both ship with macOS).