wget is used to download files over a network with different protocols. wget can be get from most of the Linux distributions with their respective package manager. But in windows, we need to get and install wget manually. In this tutorial, we will look at how to download, install and setup wget for windows operating systems like 7, 8, 10, server, etc. For more information on wget windows usage look following the tutorial.
Download From Sourceforge
Sourceforge provides support for a lot of open-source and free projects. wget is one of them. We can download windows binaries from the following links.
Binaries
http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-bin.zip
Source Files
http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-src-setup.exe
Documentation
http://downloads.sourceforge.net/gnuwin32/wget-1.11.4-1-doc.zip
Download From Eternallybored
Eternallybored.org is a web site that provides GNU project windows binaries. We can download wget from the following links.
32 Bit Binary
https://eternallybored.org/misc/wget/releases/wget-1.19.1-win32.zip
64 Bit Binary
https://eternallybored.org/misc/wget/releases/wget-1.19.1-win64.zip
Installation
Download wget.exe
or similar files and extract if required. Then create a folder named wget
in the program files.
> mkdir wget
Copy Files
We will copy file or files to the newly created folder named wget
. The full path of wget
is C:\Program Files\wget
.
> copy "c:\Users\ismail\Downloads\wget64.exe" "c:\Program Files\wget\"

Add Wget Path To Environment Variables
Now we will add the current path of wget binary to the system path. Computer
-> Advenced System Settings
-> Advenced
-> Environment Variables
-> Path
System variable. Add the following line. This will add wget
path to the PATH variable which is used to locate commands and binaries. So we can use wget
from different directories and drives without providing the whole wget
binary path.
;C:\Program Files\wget

Run Wget Windows
Now open new MS-DOS or Powershell terminal to run wget
command.
> wget64.exe --help
