As reported, the link is currently dead (Database connection error), so I post the original text here:
The msys shell that comes with a Windows install of Git has curl, which is an awesome little utility, but sometimes you want access to wget. The MinGW project on SourceForge has a build of wget ported to work with MinGW/MSys: download this archive, create a folder called
/bin
in your home directory, and extractwget.exe
to that/bin
folder. Since~/bin
should be in your MSys PATH (at least it was for me), this should let you runwget
from any directory when using Git Bash.Credit to trasana.org’s page on creating a build environment for pointing me in the right direction
Original post:
http://www.kadamwhite.com/archives/2012/wget-in-git-bash
Because sometimes you do need your wget 😉 Thanks Adam!
Unfortunately, this link is now dead. 🙁
Thanks for pointing out! I managed to get the original content from the Google Cache and posted it above.
For the ones that are trying to get wget to work in Git Bash that you download from the Git page, you need to extract the file and copy wget.exe to the bin folder located in c:\Program Files\Git\mingw64\bin
Close and open Git Bash again and you will have wget working!