2020-05-28
|~1 min read
|122 words
The steps to install AWS CLI on MacOS (requires sudo permission):
installer
via cURLinstaller
If only installing for a single user (or do not have sudo permissions), there are some additional steps which AWS documents in their installation guide.
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
If the target remains -target /
, the files will be installed at /usr/local/aws-cli
with a symlink automatically created in /usr/local/bin
. sudo
is required to grant write access to those directories.
$ which aws
/usr/local/bin/aws
$ aws --version
aws-cli/2.0.10 Python/3.7.4 Darwin/19.4.0 botocore/2.0.0dev14
Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!