Home | Alpine Linux | Docker | S3CMD | Go System | Security | MySQL | InfluxDB AWS | AWS:IAM —
- Install / Upgrade AWS CLI
- Install Python3 PIP. On Ubuntu machines
sudo apt-get install python3-pip
- 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.
- Check your installed version
aws --version
To find-out the latest released version of AWS CLI go here
Also See: AWS Documentation
- Install Version 2.x AWS Documentation
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
- Update Version 2.x AWS Documentation
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update
AWS CLI Version 2.x ECR Login Migration
- Version 1.x
$(aws ecr get-login -no-include-email)
- Version 2.x
aws ecr get-login-password | docker login --username AWS --password-stdin MY-REGISTRY-URL