Firstly, let’s cover off what is WGET?
In simple terms, it’s a glorified Download button….. run at the Command Line.
What is WGET
In reality it’s a WGET Linux Package that is installed on your Linux Operating System of choice which enables you to GET (HTTP Methods) “stuff” over the HTTP/S and S/FTP/S protocols.
These commands are used at the Command Line.
And for those of your reading who have been casually using this on Linux for some time, when you come to trying this same functionality on Windows, you’ll soon realise that this doesn’t work out of the box.
Who knows why….. Let’s just blame Microsoft, who knows?
WGET is such an awesome tool, it’s a bit baffling why this isn’t included in Windows by default. But hey.
WGET for Windows
Thankfully, the world has come to rescue to make WGET for Windows!
So this enables you to use WGET on Windows rather than only on Linux!
The TLDR; is that you can Download WGET for Windows here.
Handy WGET Commands
The basics of WGET is as simple as follows;
“`
wget https://www.example.com
“`
Which will download the index.html page.
What you will often want to do though is download an entire website.
Thankfully there is a handy command for that too…..
“`
wget –page-requisites https://www.example.com
“`
(Note, the above is dash dash, it just looks weird)
And by using that additional flag you can download all of the things required to run that website locally.
Michael Cropper
Latest posts by Michael Cropper (see all)
- WGET for Windows - April 10, 2025
- How to Setup Your Local Development Environment for Java Using Apache NetBeans and Apache Tomcat - December 1, 2023
- MySQL Recursive Queries – MySQL While Loops – Fill Zero Sum Dates Between Dates - October 6, 2023