Install the AWS CLI on Mac using Homebrew

Published: 07 May 2023
on channel: Dan Morrill
2,278
14

Quite possibly one of the most fun things I’ve done. This is part of my AWS command line course on uDemy, and of course, installing the command line is a big part of it. The uDemy course is at https://www.udemy.com/course/aws-comm...

I like this the most because I had errors, and often those errors are where we can come up with some clever ways of solving the problem.

In general, it is really easy to do, but sometimes you will glitch out as well.

Here are some steps to install the AWS Command Line Interface (CLI) on an Apple box using Homebrew:

Open the Terminal application on your Mac.

Install Homebrew by running the following command in the Terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"

After Homebrew is installed, run the following command to update the Homebrew package list:
brew update

Once the package list is updated, run the following command to install the AWS CLI:
brew install awscli

Verify that the AWS CLI is installed by running the following command:
aws --version

You should see the version number of the AWS CLI that was installed.

That's it! You have successfully installed the AWS CLI on your Apple box using Homebrew. From here, you can start using the AWS CLI to manage your AWS resources directly from the command line.


Watch video Install the AWS CLI on Mac using Homebrew online without registration, duration hours minute second in high quality. This video was added by user Dan Morrill 07 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,27 once and liked it 1 people.