So, how do we to install wget on your Mac ? Well, most of us have faced this when we have started to use the terminal in our Macs and we type:
$ wget https://someURL.com/foldername/filename.html
for the first time.
Only to find out that our Macs don’t actually come with wget install by default. The tool wget is very a useful. I tend to use it to get files that my scripts need to complete the process that is trying to do, such as GitHub.
Right lets get this question ‘How do we to install wget on your Mac.’ answered for you. The answer is simple Homebrew .
To start to get wget on Mac OS is straight forward and does not take too much headache. The first thing you will need to do is make sure that you have install Xcode. You can double check that you have it installed by simply :
pressing Cmd – holding it down – and then pressing the spacebar .
This is the shortcut for ‘Spotlight’ and then type ‘Xcode’. If you have it install it will show up in the list. other wise you can go to the app store and search for it and install it. Xcode it completely free from Apple.
Xcode will have everything you need to install to start with, such as a C/C++ compiler. The next major step, but an easy one is to install Homebrew.
Homebrew is as they say on their site: “The missing package manager for macOS”
Install From The Terminal
So to install Hombrew follow the below steps :
- Open Terminal
- then paste the below cmd in your terminal:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Follow any instruction and wait until it is fully installed. Once that is done from the terminal again run the below cmd to install wget :
$ brew install wget
That’s it !!
You have just install wget the painless way, no source code or tar files to unzip. Nice and straight forward.
Plus with Homebrew you can use it to install other packages as well, follow this link to take you to the full list of the packages you can download.
Do you have a lot of password to remember, if you find it hard to keep them secure, read our article on ’10 Steps To Secure And Manage Your Passwords’ to give you a helping hand.