How to install the AWS Command Line Interface on MacOS

AWS is the most widely used cloud service in the world and provides a collection of services that can be leveraged by developers to build their applications.  To manage the various AWS services, you can use either the AWS Management Console or the AWS Command Line Interface. However if you want automate your development environment setup using scripts, the AWS CLI is your preferred tool.