macOS
安装:
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
验证安装:
aws --version
Linux
安装:
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
验证安装:
aws --version
参考:Install or update to the latest version of the AWS CLI
标签:CLI,zip,--,AWS,sudo,aws,pkg,安装 From: https://www.cnblogs.com/Undefined443/p/18169570