smolvm update upgrades your installed SmolVM to the latest stable release from PyPI. You don’t need to remember whether you installed SmolVM with pip or as a uv tool — the command detects how you installed it and runs the matching upgrade for you.
Run it any time you want to pick up the newest release, or use --check first to see whether an update is available before installing it.
Synopsis
Options
Report whether an update is available without installing it. Exits successfully whether you’re up to date or behind.
Emit machine-readable JSON instead of formatted text. Useful for scripts and automation.
Examples
Check for an update
See whether a newer release is available without changing anything:Upgrade to the latest release
Run the upgrade. SmolVM picks the right package manager based on how it was installed:uv tool install smolvm, this runs uv tool upgrade smolvm. Otherwise it runs pip install --upgrade smolvm. Output from the underlying package manager streams live to your terminal.
JSON output for automation
Get a structured response you can parse from a script:--check and --json to script update detection:
current, latest, and an update_available boolean.
How install detection works
smolvm update looks for smolvm in the list returned by uv tool list. If it’s there, the upgrade goes through uv. Otherwise it falls back to pip install --upgrade smolvm running under the same Python interpreter that started the CLI.
If the upgrade fails (for example, because the network is unreachable), SmolVM prints a recovery command you can run manually:
Exit codes
| Code | Description |
|---|---|
0 | Success — already up to date, update available (with --check), or upgrade completed |
1 | Upgrade failed, or the installed version could not be determined |
Related commands
smolvm prune— reclaim disk space from older releases after an upgradesmolvm doctor— verify your install after an upgrade
