Command Reference
Update
Upgrade the globally installed CLI to the latest version.
Upgrade a globally installed inf to the latest version.
inf updateDetects how inf was installed (npm, bun, pnpm, or Yarn Classic v1) and re-installs it at the @latest release.
- Works only for global installs (
npm install --global @inference/cli, etc.). A project-local install is not touched — update it with that project's package manager. Fornpx/bunx, run the command again to fetch the latest release. - Yarn Berry (v2+) is not supported — it removed the
yarn globalcommand. - Not supported for Windows global installs yet.
- Exits non-zero if the update fails. Otherwise it prints a confirmation and exits
0.