All Products
Search
Document Center

Object Storage Service:update

Last Updated:Apr 02, 2025

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.

--beta

/

Upgrade to beta version.

Note

Starting from version 2.1.0, the default target of upgrade is set to the latest official version.

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.1.0
    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