Skip to the content.

Home | Alpine Linux | Docker | S3CMD | Go System | Security | MySQL | InfluxDB AWS | AWS:IAM

  1. Install Python3 PIP. On Ubuntu machines

sudo apt-get install python3-pip

  1. Install / Upgrade AWS CLI via pip for the current user

pip3 install awscli --upgrade --user

To install is for all users i.e., globally, remove the --user parameter.

  1. Check your installed version

aws --version

To find-out the latest released version of AWS CLI go here

Also See: AWS Documentation

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update

Migrating to AWS CLI v2.x

AWS CLI Version 2.x ECR Login Migration

$(aws ecr get-login -no-include-email)
aws ecr get-login-password | docker login --username AWS --password-stdin MY-REGISTRY-URL