Configure the AWS CLI

From @jayair on Mon Apr 10 2017 00:57:09 GMT+0000 (UTC)

Link to chapter -

Copied from original issue:

From @geirman on Fri Apr 14 2017 20:20:45 GMT+0000 (UTC)

frustratingly stuck at step-1

zsh: command not found: aws

I’ve followed the instructions here. They advise to add export PATH=~/.local/bin:$PATH to my .zshrc profile, but that path doesn’t seem to exist and I cannot figure out how to identify the correct path. :-/

If you are looking to setup the CLI correctly on Windows I’d recommend utilizing Chocolatey and running choco install awscli.

Then just run aws configuration to get going.

1 Like

Oh that’s cool. Glad there is an easier way for Windows!

Setting up a new machine, I came back to this tutorial just to refresh my memory on some of the details. My OS is POP!_OS 19.10, which is essentially flavor of the Ubuntu project and I was able to just use ‘sudo apt install awscli’… When I actually tried to use PIP3, it looks as is APT was actually diverting me back and instructing me to install it thru the OS package manager (which I did after a bit of interwebs research).

All seems kosher, I’ve got the current awscli installed configured and testing fine… just FYI.

And, for what it’s worth, the AWS docs also give the instructions to install Python, etc, so I’m not sure if this is something specific to either this particular OS or Ubuntu/Debian-based OS more generally…

Thanks for reporting back! I’m not too familiar with these. So this added context would be useful for people that might run into issues.