This article is written for those who were searching for a detailed and simple for the understanding guide on how to install AWS CLI on macOS.

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

You can read more about the AWS CLI on the official Amazon website at

In this guide, installing AWS CLI using the iTerm2 terminal emulator installed on the macOS operating system.

For AWS CLI to work correctly, Python 2, version 2.6.5 and higher, or Python 3, version 3.3 and higher, is required.

Check the version of Python installed on your computer using the command:

python --version

Go to the “Downloads” folder with the command:

cd Downloads

Download the AWS CLI installer using the command:

curl "" -o ""

Unzip the downloaded archive using the command:


Run the AWS CLI installation using the command:

sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws

This command sets the AWS command-line interface to “/usr/local/aws” and creates a symbolic link in the /usr/local/bin directory.

Specify the password for the account and press “Enter”.

Now you can see the installed version of AWS CLI using the command:

/usr/local/bin/aws --version

Everything is ready to use AWS CLI.


Hi, I’m Vladimir Mikhalev, but my friends call me Valdemar. I have a lot of experience in the design and maintenance of various information systems. On my website, you will find detailed and clear guides for setting up IT solutions. Dive into the ocean, full of positive and technology! For cooperation:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.