All Products
Search
Document Center

Object Storage Service:update

Last Updated:Mar 19, 2026

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

FlagDescription
-f, --forceSkips the confirmation prompt and upgrades immediately if a newer version is available.
--betaUpgrades 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)?y

Upgrade immediately without a confirmation prompt

ossutil update -f