AWSCLI installation location help

0

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

Thanks.

Jim
asked a year ago238 views
2 Answers
3
Accepted Answer

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
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile picture
EXPERT
reviewed a year ago
  • 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
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
  • 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]"

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions