update command checks for a newer release of vesslctl and replaces the running binary in place. The CLI also prints an “update available” notice on every command when a newer version is detected, so you can run vesslctl update whenever you see the prompt.
update
When you run
vesslctl update:
- The CLI fetches the latest release version.
- If you are already on the latest version, it prints a confirmation and exits.
- Otherwise, it shows the current and target versions and asks for confirmation. Pass
--yesto skip the prompt. - The new binary is downloaded and replaces the current one in place.
vesslctl update always replaces the binary at its current location. You don’t need to redownload through the install script after the first install.