AWS CLI
The install instructions come from the AWS CLI Install and Update Instructions “macOS > GUI Installer section.
Step 1: Download the AWSCLIV2.pkg
Step 2: Create installation Directory and Install
📝 For this walkthrough, the $HOME/aws directory is used as the install location for the aws-cli
mkdir $HOME/aws
Step 3: Open AWSCLIV2.pkg
The AWSCLIV2.pkg will be available in $HOME/Downloads. When prompted for the target install directory, use the full path of the aws directory created in “Step 2”.
Step 4: Create symlink files in $PATH
sudo ln -s $HOME/aws/aws-cli/aws /usr/local/bin/aws
sudo ln -s $HOME/aws/aws-cli/aws_completer /usr/local/bin/aws_completer
📝 sudo permissions required to create symlinks to /usr/local/bin
Step 5: Verify aws availability and version
which aws
aws --version