The Command Prompt in Windows 10 doesn’t compare to the terminal on Linux. To make up for its shortcomings, tools like wget and Cygwin can be installed on Windows to get more out of the Command Prompt. Here’s how you can install and use wget in Windows 10.

Install Wget

Wget is a free tool but downloading the correct file is oddly tricky. It’s hard to tell just which one you should download and one of the more popular mirrors for the EXE is notorious for crashing on Windows 10. In order to install wget, download this file from Sourceforge.

Extract the file, and run the EXE inside it. The installation is pretty straightforward. Except the EULA, and don’t change anything else.

Using Wget

There are two ways to use Wget on Windows 10. This is a command line tool so it doesn’t have a GUI. You access it via the Command Prompt. To use it from the Command Prompt, you can either add it as an environment variable, or you can manually go to the directory the Wget app is in, and use it from there. The second method isn’t convenient if you intend to use this tool often but we’re going to detail both methods and you can chose whichever suits you best.

CD To Wget

This is the less convenient method. Open File Explorer and go to the following location. There will be a Wget.exe file here. You really only need the path to this file. Copy it to your clipboard.

‘);
if (navigator.appVersion.indexOf(“Mac”)!=-1) document.write(”);

RECOMMENDED FOR YOU

C:Program Files (x86)GnuWin32bin

Next, open Command Prompt and enter the following command to move to the above location.

cd C:Program Files (x86)GnuWin32bin

Once you’re in this folder, you can type wget and use any of its functions and switches.

Add Environment Variable

To have to move to the bin folder the Wget.exe is in every single time you want to use the tool is time consuming. If you add it as an environment variable though, you can simply type wget from any directory and use it. You will need admin rights to do this.

To add wget as an environment variable, open File Explorer and paste the following in the location bar.

Control PanelSystem and SecuritySystem

On the left column, click Advanced System Settings. In the window that opens, click Environment Variables. In the Environment Variables window, select ‘Path’ in the section at the top, and click Edit.

In the window that opens, click New, then click the browse button. Enter this location;

C:Program Files (x86)GnuWin32bin

Click Ok on each window to exit.

Now, when you open Command Prompt, you can type wget regardless of which directory/folder you’re in and you will be able to access this app and use its commands.

Leave a comment

  • Pingback: How To Install And Use Wget In Windows 10()