I had an issue years ago with the cygwin installation. What I did was download everything to my computer and then install it. If you have the space, it is the easiest way and better then installing Linux or Unix if you simply want to learn how to write shell scripts.

The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Compnet Ventures, LLC hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.