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.
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
64 Bit Binary
wget.exe or similar files and extract if required. Then create a folder named
wget in the program files.
> mkdir wget
We will copy file or files to the newly created folder named
wget . The full path of
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.
Advenced System Settings ->
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.
Run Wget Windows
Now open new MS-DOS or Powershell terminal to run
> wget64.exe --help