Using the bundled installer it’s easy to install or upgrade to version 2 of the AWS CLI:
1 2 3 4 5 |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install rm /usr/bin/aws ln -s /usr/local/bin/aws /usr/bin/aws |
Here’s a link to full instructions:
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html