
The first line will install openssl and the second line will install the wget. Type in the following command to enable OpenSSL for TLS support and install wget. Once Homebrew is installed, you can move forward with installing Wget command.
This is normal and you can proceed with the installation as this is needed for the youtube-dl tool to work properly. Now note that Xcode command line tool will also be installed as you will get the following message.
This whole process will take at least 10 minutes.
Give password of your mac when asked for it. Now press Enter key to start installation when you see the following window. If you get this error Error: The Ruby Homebrew installer is now disabled and has been rewritten in Bash. Copy and paste the following command into the terminal and press enter: ruby -e "$(curl -fsSL )". Open the terminal on your Mac by pressing cmd + space and typing in “terminal.”. To do this, you must first install Homebrew on your Mac. To begin the installation process, you will need Wget to be installed in order to download and install YouTube-dl. Follow our Step-by-Step Guide below to Install Youtube-dl on Mac.