wget in Git Bash

Reading Time: < 1 minute

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 extract wget.exe to that /bin folder. Since ~/bin should be in your MSys PATH (at least it was for me), this should let you run wget 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!

3 thoughts on “wget in Git Bash”

  1. 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!

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept the Privacy Policy

This site uses Akismet to reduce spam. Learn how your comment data is processed.