# Installing and updating the AWS CLI with single-line commands

DevFeed: [Installing and updating the AWS CLI with single-line commands](<https://devfeed.tech/articles/installing-and-updating-the-aws-cli-with-single-line-commands-50115.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/developer/installing-and-updating-the-aws-cli-with-single-line-commands/>)

Author: Steve Yoo

Published: 2026-07-28T14:55:26Z

Content type: tutorial

Language: en

Sources: [AWS Developer Tools Blog](<https://devfeed.tech/sources/aws-developer-tools-blog.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [aws-cli](<https://devfeed.tech/tags/aws-cli.md>), [cli](<https://devfeed.tech/tags/cli.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [foundational-100](<https://devfeed.tech/tags/foundational-100.md>), [install](<https://devfeed.tech/tags/install.md>), [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [updating](<https://devfeed.tech/tags/updating.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

A tutorial explaining how to install AWS CLI v2 with single-line install scripts on macOS, Linux, and Windows, and how to update supported installations using a new command.

## Source excerpt

The AWS Command Line Interface v2 (AWS CLI) can now be installed and updated using single-line commands. Previously, to install the AWS CLI, you had to download the correct installer for your platform and architecture, configure the installation path, and manually run the installer. To update the AWS CLI, you had to repeat the same [...]