nself update
nself update
Section titled “nself update”Update the ɳSelf CLI binary and admin UI.
Synopsis
Section titled “Synopsis”nself update [flags]Description
Section titled “Description”nself update checks for new releases of the ɳSelf CLI on GitHub (�P1�) and installs the latest version. It replaces the current binary in-place and optionally restarts running services after the update.
By default, nself update updates both the CLI binary and the admin Docker image. Use --cli or --admin to update only one component. Use --check to see if an update is available without installing anything.
If you are running an active ɳSelf project and update the CLI, you may want to run nself build --force && nself restart afterward to regenerate docker-compose.yml with any new defaults from the updated version.
| Flag | Default | Description |
|---|---|---|
--check | false | Check for updates without installing |
--cli | false | Only update the CLI binary |
--admin | false | Only update the admin UI Docker image |
--force | false | Force update even if already on the latest version |
--restart | false | Restart services after update |
--version | "" | Download and install a specific version (e.g. v1.2.3) |
--help, -h | none | Show help |
Examples
Section titled “Examples”# Check for updates without installingnself update --check
# Update CLI and admin UI to latestnself update
# Update only the CLI binarynself update --cli
# Update only the admin UInself update --admin
# Force update even if already up to datenself update --force
# Install a specific versionnself update --version v1.0.0
# Update and restart servicesnself update --restart