Install awscli to macOS using HomeBrew (https://brew.sh); this is the easiest way. HomeBrew has already been introduced in Chapter 1, Building your own Kubernetes Cluster, while installing minikube.
To install awscli by HomeBrew on your Mac, perform the following steps:
- Type the following command to update the latest formula:
$ brew update
- Specify awscli to install:
$ brew install awscli
- Verify the aws command using the --version option:
$ aws --version
aws-cli/1.15.0 Python/3.6.5 Darwin/17.5.0 botocore/1.10.0