AWSCLI installation location help

0

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

Thanks.

Jim
posta un anno fa254 visualizzazioni
2 Risposte
3
Risposta accettata

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
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
profile picture
ESPERTO
verificato un anno fa
  • 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
ESPERTO
con risposta un anno fa
profile picture
ESPERTO
verificato un anno fa
  • 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]"

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande