Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded Wget from here, and got a file named wget-latest.tar.gz, dated 22-Sep-2009. I saved it into one of the folders on my D: drive and unzipped it. I read through the READ ME file, but didn't find any information there on how to install it. Since there was no Install file, I assumed that unzipping wget.zip into a previously created folder had installed it.

However, when I opened the command line and typed:

 wget -r -A ".jpg,.gif,.png" http://mywebsite

I only got an error message. Since I am using Chinese version of XP at the moment and I don't read Chinese, I don't understand what this message is saying, but I assume it means that Wget didn't install properly.

So, how do I properly install Wget on Windows XP?

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

It sounds like you're using Windows. To download a pre-built wget.exe for Windows, see WGET for Windows.

In the box near the top of the page, wget.exe is a link to download the wget program itself. Since this is an exe file already, there's no need to unzip or install this particular version.

What you downloaded previously was the source code to wget, so you would need a compiler to build a wget for your system. This is probably not what you wanted.

share|improve this answer
Yay! we might be on the right track (after the third question) –  pavium Dec 1 '09 at 7:44
@Greg Hewgill: Thank you very much! –  brilliant Dec 1 '09 at 7:57
add comment

To actually "install" wget so that you can use it from any command prompt (as you attempted), you need to add its containing folder to the PATH environment variable. Proper practice would be to create a "Utilities" folder such as C:\Program Files\Utilities and adding it to the path, and then placing any utilities that do not come with an installer into here and adding it to the system path.

I however, tend to be lazy and simply drop the utilities into C:\Windows\System32 as it is already on the path and doesn't require a reboot to take effect. Use proper caution when working with the windows directory if you choose this route.

share|improve this answer
Changing PATH should not require a reboot. Just open a new command prompt, and it should take effect there. –  sleske Apr 14 '10 at 15:38
it requires you to log in and log out (for the GUI) or to start a new command window. I just have a specific folder for tools i need in my path though –  Journeyman Geek Jun 28 '11 at 2:53
add comment

You may want to also look into cygwin. This allows you to manage windows totally from command line. With cygwin you can easily wget any file.

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.