Skip to content

update

Check for and install the latest version of starkite. Downloads the latest GitHub release and replaces the current binary.

Usage

kite update [--check | --force]

Flags

Flag Description
--check Check for updates without installing. Prints the available version and exits
--force Force update even if the current version matches or the current binary is a dev build

Behavior

  • Refuses to update a dev build unless --force is passed.
  • Reports current and latest versions.
  • Replaces the current running binary with the downloaded version.

Examples

Update to latest

kite update

Check without installing

kite update --check
# Current version: 0.1.0-dev
# Latest version:  0.2.0
# Update available: 0.1.0-dev → 0.2.0
# Run 'kite update' to install.

Force reinstall

kite update --force

Exit codes

  • 0 — update succeeded, or already up-to-date
  • non-zero — update check or install failed