All Products
Search
Document Center

Object Storage Service:update

Last Updated:Mar 20, 2026

Updates ossutil to the latest version.

Important

For ossutil 1.6.16 and later, use ossutil directly as the binary name on any operating system. For versions earlier than 1.6.16, rename the binary to match your operating system. For more information, see ossutil command reference.

Command syntax

ossutil update [-f]

Without -f, the command displays the current and latest versions, then prompts you to confirm before updating. With -f, the update proceeds without confirmation.

Options

OptionDescription
-fSkip the confirmation prompt and update immediately if a newer version is available.

Examples

Check the current version and update interactively:

ossutil update
The current version is 1.5.1, and the latest version is 1.7.5.
Are you sure that you want to update the version (y or N)? y

Update without confirmation:

ossutil update -f