AWSCLI installation location help

0

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

Thanks.

Jim
demandé il y a un an254 vues
2 réponses
3
Réponse acceptée

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
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
profile picture
EXPERT
vérifié il y a un an
  • 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
répondu il y a un an
profile picture
EXPERT
vérifié il y a un an
  • 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]"

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions