You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): add self-update command for automatic CLI updates #642
Currently, NemoClaw users have no built-in way to check for or apply CLI updates. They must manually run npm install -g nemoclaw or clone the repository and pull changes.
Proposed Solution
Add a nemoclaw update command that:
Checks for updates - Compares current version against the latest release from npm and GitHub
Shows version info - Displays current vs latest version
Applies updates - Downloads and runs the install script non-interactively
Handles edge cases - Detects running from source and suggests git pull instead
Commands
# Check for updates (default behavior)
nemoclaw update
# Update without prompting
nemoclaw update --yes
# Force check even if already current
nemoclaw update --force
Output Example
$ nemoclaw update
Checking for updates...
Current version: 0.1.0
Latest version: 0.2.0
A new version is available!
Run 'nemoclaw update --yes' to update without prompting.
Implementation Notes
Uses built-in Node.js http/https modules (no external dependencies)
Fetches version from both npm registry and GitHub releases (uses higher version)
Detects running from source and suggests git pull instead of install script
Downloads install script with integrity verification before execution
The installer is the maintained path for updating the CLI and it integrates with the sandbox-upgrade flow, so we do not need the separate self-update implementation from #644. Thanks again to @vasanth53 for proposing and working through this feature.
Activity
feat(cli): add self-update command for automatic CLI updates
wscurran commentedon Mar 23, 2026
Thanks for proposing this feature, adding a self-update command to the NemoClaw CLI could be a useful enhancement for users.
feat: add self-update command for automatic CLI updates (NVIDIA#642)
feat: add self-update command for automatic CLI updates (NVIDIA#642)
ericksoa commentedon Apr 30, 2026
Follow-up from #644: that PR has been closed as superseded by the current installer-driven update flow.
Users can achieve the update outcome with the supported commands on
main:curl -fsSL https://www.nvidia.com/nemoclaw.sh | bashnemoclaw upgrade-sandboxes --checknemoclaw upgrade-sandboxesFor extra safety before an upgrade, users can also create a snapshot first:
nemoclaw <sandbox-name> snapshot create --name pre-upgradeThe installer is the maintained path for updating the CLI and it integrates with the sandbox-upgrade flow, so we do not need the separate self-update implementation from #644. Thanks again to @vasanth53 for proposing and working through this feature.