Updates ossutil to the latest version.
Syntax
ossutil update [flags]ossutil update checks the current and latest versions of ossutil. If a newer version is available, ossutil prompts you to confirm the upgrade. To skip the confirmation prompt, use the -f flag.
Flags
| Flag | Description |
|---|---|
-f, --force | Skips the confirmation prompt and upgrades immediately if a newer version is available. |
--beta | Upgrades to the latest beta version instead of the latest official version. Note Starting from version 2.1.0, the default upgrade target is the latest official version. |
For all available flags, see Command-line options.
Examples
Check for updates and confirm before upgrading
ossutil update
Current version is: 2.0.0-beta.24041600, the lastest version is: 2.1.0
Do you really mean to update ossutil (y or N)?yUpgrade immediately without a confirmation prompt
ossutil update -f