Skip to content

upgrade command

Terminal window
keel upgrade

No arguments or flags.


keel upgrade detects how Keel was installed and runs the appropriate update command:

Installation sourceCommand executed
Homebrewbrew upgrade keel
go installgo install github.com/slice-soft/keel@latest
UnknownPrints manual update instructions

The detection is automatic — you don’t need to specify the source.


Upgrade via Homebrew:

Terminal window
keel upgrade
# runs: brew upgrade keel

Upgrade via go install:

Terminal window
keel upgrade
# runs: go install github.com/slice-soft/keel@latest

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 upgrade

This background check does not slow down the command being run.


If keel upgrade cannot detect the installation source, follow the manual instructions shown in the output. Alternatively:

Terminal window
# Homebrew
brew upgrade keel
# go install
go install github.com/slice-soft/keel@latest

To check the current installed version before upgrading:

Terminal window
keel version

Output includes: version, commit hash, build date, Go version, OS/arch, and installation source.