Jed
Jed

Reputation: 1733

Equivalent of wget command line for windows 8.1

I'm using git bash as my command line interface in my working environment.

Is there a wget command available for windows 8.1?

Upvotes: 19

Views: 61767

Answers (4)

SDsolar
SDsolar

Reputation: 2705

Windows 8.1 PowerShell has both the wget and the curl commands.

The both perform identically as if they are synonyms for each other.


Example - to retrieve http://www.sdsolarblog.com/montage/show.html

PS C:/users/Admin> curl http://www.sdsolarblog.com/montage/show.html

or

PS C:/users/Admin> wget http://www.sdsolarblog.com/montage/show.html

Here is what it looks like in practice:

enter image description here


To download the entire raw file you want to add the -outfile option like so:

PS C:/users/Admin> curl http://www.sdsolarblog.com/montage/show.html -outfile show.html

Upvotes: 18

Viorel Mirea
Viorel Mirea

Reputation: 399

You can directly download wget for windows
1) Download wget for windows from http://gnuwin32.sourceforge.net/packages/wget.htm or https://eternallybored.org/misc/wget/
2) Download install cygwin from cygwin.com and install the wget package
3) Get similar tools like curl for windows from curl.haxx.se

Upvotes: 0

user4662319
user4662319

Reputation:

Use CygWin and download the package for wGet

https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fwget%2Fwget-1.16.3-1&grep=wget

Upvotes: -1

Aaron
Aaron

Reputation: 24812

You can use curl instead of wget.

curl http://www.google.com/

Upvotes: 26

Related Questions