How to upgrade AWS CLI to the latest version?

前端 未结 12 2366
走了就别回头了
走了就别回头了 2020-12-07 14:41

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.1         


        
12条回答
  •  半阙折子戏
    2020-12-07 14:52

    On Linux and MacOS X, here are the three commands that correspond to each step:

    $ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
    $ unzip awscli-bundle.zip
    $ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
    

提交回复
热议问题