Reference
Self-Update
Check for and install whisp updates from GitHub releases.
Self-Update
Whisp can update itself directly from GitHub releases.
Check for Updates
See if a newer version is available:
whisp update --checkOutput:
Current version: v0.5.0
Checking for updates...
New version available: v0.6.0
Run 'whisp update' to install.If you're already on the latest version:
Current version: v0.5.0
Checking for updates...
Already up to date!Install Updates
Download and install the latest version:
whisp updateYou'll be prompted to confirm:
Current version: v0.5.0
Checking for updates...
New version available: v0.6.0
Install update? [y/N] y
Downloading and installing update...
██████████████████████████████ 100%
Update complete! Restart whisp to use the new version.After updating, restart the daemon:
whisp restartHow It Works
The update command:
- Fetches the release list from GitHub (
n-f9/whisp) - Compares your version with the latest release
- If newer, downloads the appropriate binary for your platform
- Replaces the current binary in place
- Preserves all configuration and history
Command Reference
whisp update [OPTIONS]Options
| Option | Short | Description |
|---|---|---|
--check | -c | Check for updates without installing |
--help | -h | Show help |
Troubleshooting
"Failed to check for updates"
This usually means a network issue. Check your internet connection and try again.
Update fails to download
Ensure you have write permissions to the whisp binary location:
# Find where whisp is installed
which whisp
# Check permissions
ls -la $(which whisp)Version mismatch after update
If whisp --version shows the old version after updating, ensure you're not running a cached version:
# Rehash shell commands
hash -r # bash/zsh
# or restart your shellAlternative: Manual Update
If self-update doesn't work, you can update manually:
# Download latest from GitHub
curl -fsSL https://github.com/n-f9/whisp/releases/latest/download/whisp-$(uname -s)-$(uname -m) -o /tmp/whisp
# Make executable
chmod +x /tmp/whisp
# Replace existing binary
sudo mv /tmp/whisp $(which whisp)
# Restart daemon
whisp restartOr rebuild from source:
cd /path/to/whisp
git pull
cargo build --release