All Products
Search
Document Center

Object Storage Service:update

Last Updated:Aug 29, 2024

Updates ossutil to the latest version.

Important

For ossutil 1.6.16 and later, you can directly use ossutil as the binary name in the command line. You do not need to update the binary name based on the system. For ossutil whose version is earlier than 1.6.16, you need to refresh the binary name based on the system. For more information, see ossutil command reference.

Command syntax

ossutil update [-f]

This command is run to check 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.

Examples

  • Determine whether to update ossutil to the latest version

    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 ossutil without requiring your confirmation

    ossutil update -f