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.
kilm update [OPTIONS]Options
Section titled “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.
Behavior
Section titled “Behavior”- Installation Detection: Automatically detects how KiLM was installed (pipx, pip, uv).
- Version Check: Queries PyPI for the latest available version using cached requests.
- Update Execution: For supported methods (pipx, pip, uv), automatically executes the update command.
- Unavailable Methods: For conda and homebrew (not yet published), provides information about planned availability.
Supported Installation Methods
Section titled “Supported Installation Methods”| Method | Auto-Update | Update Command |
|---|---|---|
| pipx ✅ | Yes | pipx upgrade kilm |
| pip ✅ | Yes | pip install --upgrade kilm |
| pip (venv) ✅ | Yes | pip install --upgrade kilm |
| uv ✅ | Yes | uv tool upgrade kilm |
| conda | Unavailable | N/A (planned for future) |
| homebrew | Unavailable | N/A (planned for future) |
Examples
Section titled “Examples”Check for updates:
kilm update --checkUpdate KiLM to latest version:
kilm updateForce reinstall current version:
kilm update --forceTroubleshooting
Section titled “Troubleshooting”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)