self_update_cmd
self_update_cmd
¶
jarvis self-update — upgrade OpenJarvis to the latest release.
Runs the right upgrade command for how the user installed OpenJarvis:
- PyPI installs get
pip install --upgrade openjarvis. - uv-tool installs get
uv tool upgrade openjarvis. - Editable git checkouts get
git pull && uv syncin the checkout.
The detection logic is shared with the post-command "new version
available" hint in _version_check.py so both surfaces stay in sync.