AWSCLI installation location help

0

How can I locate the AWSCLI that's already installed on a MacBook?

Thanks.

Jim
已提問 1 年前檢視次數 254 次
2 個答案
3
已接受的答案

Just type following command, which would show you where it's installed.

which aws

Most of the cases, it'd be either at /usr/local/ or /usr/local/bin.

For more details refer AWS CLI Installation Guide

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前
profile picture
專家
已審閱 1 年前
  • Thanks, that also got me to the AWS file, but as my prior comment indicates, it's not the CLI.

  • Did you try searching it in unix way as below:

    find ./ -type d -name aws-cli
    

    This should give you the location. If you have locate database, then you can run

     locate aws-cli
    

    On my mac, I'm able to find this way as well. Let me know if it doesn't work for you.

1

Try

whereis -b aws

Usually it’s in /usr/local/aws

profile picture
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前
  • That leads me to an AWS file, but it's not the CLI. It doesn't look like I'm able to add a screenshot here, but the text at the end is: "Deleting expired sessions..none found. [Process completed]"

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南