Install AWS CLI on macOS
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:
Let’s go to the “Downloads” folder using the command:
Download the AWS CLI installer using the command:
Unpack the downloaded archive using the command:
Let’s start the AWS CLI installation using the command:
This command installs the AWS CLI in “/usr/local/aws” and creates a symbolic link in the “/usr/local/bin” directory.
Specify the password for the account and press “Enter”.
You can now view the installed version of AWS CLI using the command:
Everything is ready to use the AWS CLI.