To get AWS CLI working in Cygwin:
- Install “python2-pip” with the Cygwin installer (and accept whatever dependencies it brings)
- Run “
pip2 install awscli
“ - See what you have: “
aws --version
“, and continue with the usual “aws configure
” procedure.
Using AWS CLI is not very fast in this setup however. For example, showing specific Virtual Private Gateway information took over 3 seconds in Cygwin, while it took just over a second on a Debian VM in the same computer. My understanding is that the environment setup just takes some time under Cygwin when running these commands.
Thank you, this is very helpful. Although in my case it’s pip3.7 and I had to run the Cygwin console as a Windows Administrator.
Only then I could run aws cli in Cygwin just fine as a non-Administrator Windows user.
Perfect, thank you! Worked for me too. Could not make it working with python3, but 2 made the trick.