Update Command
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide documents the update
command in the Kubiya CLI, which allows you to update your CLI installation to the latest version.
The update
command checks for and installs the latest version of the Kubiya CLI. It automatically downloads the appropriate binary for your platform from the official GitHub repository.
To update the Kubiya CLI to the latest version:
Example output:
Or if an update is available:
To force a reinstall of the current version:
Example output:
The update command:
Checks the latest release on the GitHub repository
Compares it with your current version
Downloads the appropriate binary for your platform (macOS, Linux, Windows)
Creates a backup of your current binary
Replaces the current binary with the new one
Removes the backup after successful installation
Permission Errors
Run with elevated privileges: sudo kubiya update
Verify you have write permissions to the installation directory
Network Issues
Check your internet connection
Verify firewall settings aren't blocking GitHub access
Backup Restoration
If the update fails, the command attempts to restore your previous version automatically
kubiya version
- Display the current version of the Kubiya CLI
The update
command ensures you always have access to the latest features and improvements in the Kubiya CLI. Running this command periodically will keep your installation up-to-date.