Skip to main content
On this page

Kater CLI Your terminal

kater upgrade

Installs the newest Kater CLI, the way you installed this one: with the install script, with your own uv, or with pipx.

Use it when a command ends with a line such as “kater 0.2.41 → 0.2.44 is out.”.

Examples

Terminal window
# Install the newest Kater CLI
kater upgrade
# Check the version that you have now
kater --version

Options

It also takes the global options anywhere on the line, and --help.

How it upgrades

  • The install script. It runs the install line again with the script’s own uv in ~/.kater. It also replaces a version that KATER_VERSION pinned.
  • Your own uv. It runs uv tool upgrade kater-cli.
  • pipx. It runs pipx upgrade kater-cli.
  • A checkout of the Kater repository. It changes nothing and tells you to pull main.

When it cannot tell how you installed the CLI, it tells you to run the install line again.

When the CLI tells you that a newer one is out

After a command succeeds, the CLI prints one dim line on stderr when the Kater API says that a newer CLI is out. It prints the line at most once a day. It prints no line when stderr is not a terminal, when CI is set, with --json, for a version that KATER_VERSION pinned, or in a checkout of the Kater repository. Set KATER_NO_UPDATE_NOTIFIER=1 to turn the line off.

When your CLI is too old for the Kater API, every command stops with an error that tells you to run kater upgrade.

See also