Skip to content

update

The kilm update command updates KiLM itself to the latest version available on PyPI. It automatically detects your installation method and uses the appropriate update mechanism.

Terminal window
kilm update [OPTIONS]
  • --check: Check for available updates without installing them. Shows current version, latest version, and update instructions. Example: kilm update --check

  • --force: Force update even if already up to date. Useful for reinstalling the current version. Example: kilm update --force

  • --help: Show the help message and exit.

  1. Installation Detection: Automatically detects how KiLM was installed (pipx, pip, uv).
  2. Version Check: Queries PyPI for the latest available version using cached requests.
  3. Update Execution: For supported methods (pipx, pip, uv), automatically executes the update command.
  4. Unavailable Methods: For conda and homebrew (not yet published), provides information about planned availability.
MethodAuto-UpdateUpdate Command
pipxYespipx upgrade kilm
pipYespip install --upgrade kilm
pip (venv)Yespip install --upgrade kilm
uvYesuv tool upgrade kilm
condaUnavailableN/A (planned for future)
homebrewUnavailableN/A (planned for future)

Check for updates:

Terminal window
kilm update --check

Update KiLM to latest version:

Terminal window
kilm update

Force reinstall current version:

Terminal window
kilm update --force

Update fails with permission errors:

  • For system pip: Try pip install --user --upgrade kilm
  • For pipx: Reinstall with pipx uninstall kilm && pipx install kilm

Cannot detect installation method:

  • Install via pipx for best CLI tool experience: pipx install kilm

Network/PyPI connection issues:

  • Check internet connection
  • Try again later (PyPI may be temporarily unavailable)