Setting up AWS CLI (Mac)
This guide will walk you through the process of installing and configuring the AWS Command Line Interface (CLI) on macOS.
Installing AWS CLI
Download the AWS CLI pkg installer for macOS from the official AWS CLI website.
Run the downloaded pkg installer and follow the on-screen instructions.
After installation, open a new Terminal window to ensure the PATH is updated.
To verify that AWS CLI is installed correctly, open a new terminal window, and run the following command:
aws --version
You should see output similar to:
aws-cli/2.x.y Python/3.x.y Darwin/xx.x.x x86_64
If you see the version output, AWS CLI is successfully installed! Next, you'll configure it with your IAM user credentials.