如何将 AWS CLI 升级到最新版本? [英] How to upgrade AWS CLI to the latest version?
本文介绍了如何将 AWS CLI 升级到最新版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近注意到我运行的 AWS CLI 的旧版本缺少一些我需要的功能:
I recently noticed that I am running an old version of AWS CLI that is lacking some functionality I need:
$aws --version
aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-85-generic
如何升级到最新版本的 AWS CLI (1.10.24)?
How can I upgrade to the latest version of the AWS CLI (1.10.24)?
运行以下命令无法更新 AWS CLI:
Running the following command fails to update AWS CLI:
$ pip install --upgrade awscli
Requirement already up-to-date: awscli in /usr/local/lib/python2.7/dist-packages
Cleaning up...
检查版本:
$ aws --version
aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-85-generic
推荐答案
来自 http://docs.aws.amazon.com/cli/latest/userguide/installing.html#install-with-pip
要升级现有的 AWS CLI 安装,请使用 --upgrade 选项:
To upgrade an existing AWS CLI installation, use the --upgrade option:
pip install --upgrade awscli
这篇关于如何将 AWS CLI 升级到最新版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文