This article is for those looking for a detailed and clear guide on how to install AWS CLI on macOS.

The AWS CLI is a single tool for managing AWS services. With just one tool download, you can control many AWS services from the command line and automate them with scripts.

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

This guide describes how to connect to a server using the iTerm2 terminal emulator installed on the macOS operating system.

The AWS CLI requires Python 2 version 2.6.5 or later or Python 3 version 3.3 or later to work properly.

Let’s check the version of Python installed on your computer using the command:

python --version

Install AWS CLI on macOS

Let’s go to the “Downloads” folder using the command:

cd Downloads

Install AWS CLI on macOS

Download the AWS CLI installer using the command:

curl "" -o ""

Install AWS CLI on macOS

Unpack the downloaded archive using the command:


Install AWS CLI on macOS

Let’s start the AWS CLI installation using the command:

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

This command installs the AWS CLI in “/usr/local/aws” and creates a symbolic link in the “/usr/local/bin” directory.

Install AWS CLI on macOS

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

Install AWS CLI on macOS

You can now view the installed version of AWS CLI using the command:

/usr/local/bin/aws --version

Install AWS CLI on macOS

Everything is ready to use the AWS CLI.

Install AWS CLI on macOS

Vladimir Mikhalev
hey, 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.

Recent Posts