kcp update
kcp update¶
Update the kcp binary to the latest version
Synopsis¶
Updates the kcp binary to the latest version by downloading the latest release from GitHub and installing it. A backup of the current binary is created automatically and restored on failure.
If kcp is installed in a system directory (e.g. /usr/local/bin), re-run with sudo — the command checks permissions early and exits with an error if elevation is required.
Examples¶
# Check for updates (no install)
kcp update --check-only
# Update with confirmation prompt
kcp update
# Update without prompt
kcp update --force
# Update when kcp is installed in /usr/local/bin
sudo kcp update
Options¶
--check-only Only check for updates, don't install
--force Force update without user confirmation
-h, --help help for update
Options inherited from parent commands¶
SEE ALSO¶
- kcp - A CLI tool for kafka cluster planning and migration