divekit update

Check for and apply updates to the divekit binary

Synopsis

Check for and install updates to the divekit CLI.

Downloads and installs the latest version from the configured GitLab remote. Supports both stable and pre-release update channels.

Update Channels

  stable    Production-ready releases (default)
  pre       Pre-release versions for testing new features

Usage

divekit update [flags]

Examples

# Check and apply updates
divekit update

# Only check for available updates
divekit update --check

# Update to latest pre-release
divekit update --channel pre

# Update with explicit credentials
divekit update --token glpat-xxx --remote https://gitlab.git.nrw

Flags

--channel string   Update channel: stable or pre (default "stable")
      --check            Only check and print versions without updating
  -r, --remote string    GitLab base URL (e.g., https://gitlab.git.nrw)
  -t, --token string     GitLab token or token file path (file:///...)

Inherited Flags

-l, --loglevel string   log level (debug, info, warn, error, fatal) (default "info")
      --no-index          skip project index update
      --non-interactive   run in non-interactive mode (fails if interactive input is required)
  -y, --yes               assume yes/default for all prompts (non-interactive with automatic defaults)