~1 min read|
The steps to install AWS CLI on MacOS (requires sudo permission):
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
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!