Type in the following command and press enter. Now that we have Wget to download packages from the internet, we will use it to download and install Youtube-dl package. Type in the following command and also enable OpenSSL for TLS support. Once you have downloaded Homebrew, you are ready to install Wget. The whole process will take 10-15 minutes depending on your Internet speed. You may have to enter your Mac’s password several times. Once you run the following command, you Mac will download Homebrew master file from Github. So, copy paste the following command on your Mac’s terminal (press cmd + space and type in terminal). And in order to install Wget, you need to install homebrew first. To install, youtube-dl, you need to install Wget first. Read: 5 best ways to Password Protect folders on mac youtube-dl Installationġ.