Expensicat
CLI

Upgrade

Force a CLI update check and install the latest version

Updates the CLI to the latest version. Works only when installed via npm i -g @expensicat/cli; for other install methods (direct binary, Homebrew, etc.) it prints the appropriate reinstall instructions and exits non-zero.

expensicat upgrade

Typical output when a newer version is available:

◐ Checking latest version…
◐ Installing @expensicat/cli@0.2.0…
✔ Updated: 0.1.0 → 0.2.0

When already current:

Already on latest (0.2.0).

When to use it

  • You've disabled the background auto-update (auto_update = false or EXPENSICAT_DISABLE_AUTOUPDATER=1) and want to pull changes manually.
  • You want to update right now instead of waiting for the next launch.
  • You're installing for the first time on a shared environment and want to confirm the version.

On this page