WGET Command Not Working in Cygwin

Solution 1:

The wget command is not installed by default in Cygwin. To install wget, re-run the Cygwin setup and select the wget package:

wget utility in package list

If wget is selected to install, the screen should look like this:

wget utility selected to install

Click next to complete the installation and run wget using the Cygwin Terminal or Cygwin64 Terminal (if you have installed the 64-bit version).

Solution 2:

Here is an alternative to yjwong's answer, even if it is not a direct answer to your Cygwin problem, it is a Cygwin alternative.

Usually, when i need to take advantage of the power of Linux commands under Windows environnement (for one shot purpose or batch scripting) i don't use an overkill such as Cygwin. I just use UnxUtils.

It provides a lot and main common used Linux commands. These commands run as stand-alone exe files, with no need to install anything on Windows machine.

This is also true if you only need the wget command.

The download link is here.

Trying it often means adopting it, in most cases :)