What is the best way to install the aws cli?
There are a few conflicting resources about this online.
What is the best way to install the aws cli?
There are a few conflicting resources about this online.
Per https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
sudo apt install awsclior in a Python virtual environment (will not requiresudo)python -m pip install awscli(https://pypi.org/project/awscli/). Avoids all the hassle with snaps and installer downloads and allows easy update. – NeilG May 18 '23 at 06:20aws configure sso. AWS has not released a PyPi package for version 2 and I can't find anaptpackage for version 2. If you are in need of version 2 it looks like the official AWS install method is required. There is a third party PyPi package for version 2 but I had problems with it. – NeilG Jun 02 '23 at 02:11