AWS Certified Cloud Practitioner / Identity and Access Management

AWS CLI Setup on Mac

🌐 Step 1: Navigate to the AWS CLI Installation Guide

Open your browser and search for:

install AWS CLI version 2 macOS

Then select the official documentation from:

Make sure you choose the guide for AWS CLI Version 2 on macOS.

Download Link


πŸ“₯ Step 2: Download the Installer

Scroll down to the installation section.

You will see an option to download a .pkg installer file.

πŸ‘‰ This is a graphical installer, which makes installation simple.

  • Download the .pkg file

  • Open it once downloaded


πŸ–±οΈ Step 3: Run the Installer

Once the installer opens:

  1. Click Continue

  2. Click Continue again through the prompts

  3. Agree to the license agreement

  4. Choose Install for all users (recommended)

  5. Click Install

The installer will now:

  • πŸ“¦ Copy required files

  • βš™οΈ Configure the AWS CLI

Once complete, you’ll see a successful installation message.

You can then move the installer to trash.


πŸ’» Step 4: Open Terminal

Now open your terminal.

You can:

  • Search for Terminal on macOS

  • Or use alternatives like iTerm2


βœ… Step 5: Verify Installation

Run the following command:

aws --version

βœ” Expected Output

You should see something like:

aws-cli/2.x.x Python/3.x ...

πŸ‘‰ If you see a version number, that means the AWS CLI is installed correctly.


πŸ› οΈ Troubleshooting

If something doesn’t work:

  • Revisit the official AWS documentation

  • Ensure the installation completed successfully

  • Restart your terminal and try again