upgrade command
keel upgradeNo arguments or flags.
What it does
Section titled “What it does”keel upgrade detects how Keel was installed and runs the appropriate update command:
| Installation source | Command executed |
|---|---|
| Homebrew | brew upgrade keel |
go install | go install github.com/slice-soft/keel@latest |
| Unknown | Prints manual update instructions |
The detection is automatic — you don’t need to specify the source.
Examples
Section titled “Examples”Upgrade via Homebrew:
keel upgrade# runs: brew upgrade keelUpgrade via go install:
keel upgrade# runs: go install github.com/slice-soft/keel@latestUpdate notifications
Section titled “Update notifications”When running any other keel command, the CLI checks for a newer version in the background. If a newer version is available, it prints a notice after the command completes:
💡 New version available: v1.19.0 (current: v1.18.0) Run: keel upgradeThis background check does not slow down the command being run.
Manual update
Section titled “Manual update”If keel upgrade cannot detect the installation source, follow the manual instructions shown in the output. Alternatively:
# Homebrewbrew upgrade keel
# go installgo install github.com/slice-soft/keel@latestVersion command
Section titled “Version command”To check the current installed version before upgrading:
keel versionOutput includes: version, commit hash, build date, Go version, OS/arch, and installation source.