AWS CLI $PATH Settings

后端 未结 14 2523
悲&欢浪女
悲&欢浪女 2021-01-30 04:50

I am following the AWS CLI Setup guide. I have managed to successfully install the tool on my Mac OS X terminal with the following output:

Running cmd: /usr/bin/         


        
14条回答
  •  天命终不由人
    2021-01-30 05:21

    I have used Homebrew to install AWS CLI and I am quite happy with the result. Simply type:

    $ brew install awscli
    

    after you have installed brew.

    Note, on the AWS CLI installation page there is the following disclaimer:

    The awscli package may be available in repositories for other package managers such as APT, yum and Homebrew, but it is not guaranteed to be the latest version.

    That said, I have not found this to be a problem, the awscli.rb has been updated quite frequently to match the latest releases.


    Update: there is a GitHub issue that suggests that Homebrew should be added as an alternative in the AWS CLI installation instructions. This issue was later closed in favor of this UserVoice feature request.

提交回复
热议问题