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]"

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ