Self-Update
Claudex can check for and install updates directly from GitHub Releases.
Check for Updates
Section titled “Check for Updates”claudex update --checkThis queries the GitHub API for the latest release and compares it with your installed version.
Install Update
Section titled “Install Update”claudex updateThis downloads the latest release binary for your platform, replaces the current binary, and verifies the installation.
How It Works
Section titled “How It Works”- Query GitHub API:
https://api.github.com/repos/StringKe/claudex/releases/latest - Compare current version with latest release tag
- Download the platform-specific archive (e.g.,
claudex-v0.2.0-aarch64-apple-darwin.tar.gz) - Extract and replace the running binary
- Clean up temporary files
Supported Platforms
Section titled “Supported Platforms”The update mechanism supports the same platforms as the release builds:
| Platform | Target |
|---|---|
| macOS Intel | x86_64-apple-darwin |
| macOS Apple Silicon | aarch64-apple-darwin |
| Linux x86_64 | x86_64-unknown-linux-gnu |
| Linux ARM64 | aarch64-unknown-linux-gnu |
| Windows x86_64 | x86_64-pc-windows-msvc |