Step-by-step tutorial of how to download and install AWS CLI on Windows, Linux and Mac OS.
The AWS CLI is an open source tool built on top of the AWS SDK for Python that provides commands for interacting with AWS services.
It provides direct access to AWS services’ public APIs enabling us to develop shell scripts to manage our resources(EC2, S3 etc)
Check out the releases CHANGELOG for more information on the latest release and choose the version that is required for your Operating System and your project. If you just getting started with AWS CLI , I suggest you to get the latest stable release.
PrerequisitesAws-cli/2.0.54 Python/3.7.3 Linux/4.15.0-118-generic exe/x8664.ubuntu.18. For Windows and Mac, follow this link to install the CLI. Configure AWS CLI. Download or store the access. Hi @Hannah, the best way to install AWS CLI on Mac is by using the bundled installer as it includes all the dependencies and you can even use it offline. Execute the following command.
- Applicable for Linux, macOS
- Python 2 version 2.6.5+ or Python 3 version 3.3+
![Aws cli mac download mac Aws cli mac download mac](/uploads/1/2/6/4/126407018/851867043.png)
Check your Python installation:
If you do not have Python already installed, or you would like to install a different version of Python, do it before you continue.
Install AWS CLI – Windows
You can install the AWS CLI on Windows with a standalone installer and is supported on Windows XP or later.
NOTE
Repeat the installation process to get the latest version of the AWS CLI.
Repeat the installation process to get the latest version of the AWS CLI.
- Run the downloaded setup file
NOTE
The CLI installs to C:Program FilesAmazonAWSCLI (64-bit) or C:Program Files (x86)AmazonAWSCLI (32-bit) by default.
The CLI installs to C:Program FilesAmazonAWSCLI (64-bit) or C:Program Files (x86)AmazonAWSCLI (32-bit) by default.
Install AWS CLI – Linux
We will use the default package managers to install since is available on most Linux distributions and the installation is straight forward.
Install AWS CLI – Mac OS
Aws Cli Mac Install
The easiest and quickest way to install awscli is using Homebrew.
Verify Install
Aws Cli Mac Download
When you’re done, you should be able to run the aws –version command and get the version information: