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.