All Products
Search
Document Center

Object Storage Service:update

Last Updated:Jul 31, 2024

Updates ossutil to the latest version.

Command syntax

ossutil update [flags]

This command checks the current and the latest versions of ossutil. If an update is available, you are prompted to determine whether to update ossutil to the latest version. If the -f option is specified and an update is available, ossutil is updated without requiring your confirmation.

Parameter

Type

Description

-f, --force

/

Forces the operation without requiring confirmation.

Note

For more information, see Command-line options.

Examples

  • Check for the latest ossutil version and show a prompt for update confirmation if an update is available.

    ossutil update
    Current version is: 2.0.0-beta.24041600, the lastest version is: 2.0.0-beta.05211130
    Do you really mean to update ossutil (y or N)?y
  • Check for the latest ossutil version and directly update to the latest version if an update is available.

    ossutil update -f