aws AWS Developer Tools Blog ·

AWS CLI installation and updates simplified with single-line commands

bloginfraawsengineer
feature

AWS has introduced install scripts and an `aws update` command to simplify the installation and updating of the AWS Command Line Interface v2 (AWS CLI). Previously, users had to manually download and run installers for each update, but these new tools automate the process. This change benefits all users of the AWS CLI by reducing the complexity and time required for maintenance. The new `aws update` command is available starting with AWS CLI v2.36.0 for installations managed by official installers.

  • Install AWS CLI v2 using platform-specific scripts
  • Update AWS CLI v2 with the `aws update` command
Enhancements (2)
  • Install AWS CLI v2 using platform-specific scripts

    AWS CLI v2 can now be installed using single-line commands via install scripts for macOS, Linux, and Windows. These scripts automate the download, configuration, and execution of official AWS CLI installers, simplifying the initial setup process for users.

  • Update AWS CLI v2 with the `aws update` command

    A new `aws update` command is available for AWS CLI v2 (starting from version 2.36.0) that automatically detects and reuses the current installation path to update to the latest version. This command is supported for installations managed by official installers, install scripts, or the update command itself.

Read the original announcement →

https://aws.amazon.com/blogs/developer/installing-and-updating-the-aws-cli-with-single-line-commands/

Related releases