How to install AWS CLI in mac

Hey AWS (Amazon Web Service) is today became fancy and as part of this blog, lets learn to install AWS CLI

Grab this link for mac and try to hit below command

aws configure

It will ask for bunch of items like

  1. AWS Access Key ID
  2. AWS Secret Access Key
  3. Default region Name
  4. Default Output format

Login using below command

aws ecr get-login-password β€” region <region> | docker login β€” username <username> β€” password-stdin <password>

If everything step goes good, you will be able to Login Successfully. In the above screenshot, you might have see bunch of replacement because, I have tried replacing all the values to write this blog 😜

--

--