Installing Homebrew on Mac. Lets start by opening up Terminal and installing Homebrew. Homebrew is a macOS package manager that makes installing packages on macOS a breeze. To install Homebrew on Mac run the following command. Download MySQL Server for Mac from the MySQL Community site. Download Homebrew 2.3 for Mac. Fast downloads of the latest free software! Homebrew is a package managing tool. It’s more popular on Linux but is also used extensively on macOS. In fact, for apps that install as packages, Homebrew is the easiest way to remove them.
Homebrew is a utility for Mac computers that aids the process of installing new applications. The software is open source, allowing you to check the safety of the app before using it.
Open source
Homebrew is a free system for managing your software packages and simplifying the installation process of any application.
Homebrew uses the simple programing language of Ruby. This allows the developers to follow the principles of designing an excellent interface while increasing productivity, though this is more useful if you’re adapting the source code yourself. The application is open sourced and the coding used is easy enough for beginning coders to grasp and use to learn from.
The software comes preloaded with binary packages that provide a pre-assembled formula for tasks. Using these packages that are made in Ruby script, you’ll quickly learn how they work and start creating your own binary packages to run on your device.
Homebrew is automatically integrated into the command line. Once you install the application through the use of its command line or other means, you can quickly jump in and start managing your packages and other app installations. The software is incompatible with macOS’s default privileges and requires adjustment before it’ll work.
Where can you run this program?
Brew For Mac
Homebrew is available for macOS 10.13 or higher and has a Linux and Windows 10 Linux subsystem available.
Is there a better alternative?
No. However, Ninite is a better tool for windows users as the software is primarily designed for that operating system.
Our take
Homebrew On Mac
Homebrew is a fantastic package manager that simplifies the installation process on your Mac computer.
Should you download it?
Yes. You should use Homebrew if you want a customizable way to install packages and have minor coding knowledge.
2.3
youtube-dl is an Open Source command line tool that lets you download video from YouTube (and many other videos sites). It’s often considered better than those paid video downloaders. In our previous article, we saw how to use youtube-dl to download videos on Android terminal. Even Windows has a YouTube GUI client, there are no such resources available for macOS. So, in this article, we’ll give you a walkthrough on how to install youtube dl on mac. Let’s begin.
Read: 5 best ways to Password Protect folders on mac
youtube-dl Installation
1. To install, youtube-dl, you need to install Wget first. And in order to install Wget, you need to install homebrew first. So, copy paste the following command on your Mac’s terminal (press cmd + space and type in terminal). Once you run the following command, you Mac will download Homebrew master file from Github. You may have to enter your Mac’s password several times. The whole process will take 10-15 minutes depending on your Internet speed.
2. Once you have downloaded Homebrew, you are ready to install Wget. Type in the following command and also enable OpenSSL for TLS support.
Homebrew Browser Zip File
3. 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 press enter.
4. You have now successfully installed youtube-dl on your Mac, however, it won’t work yet. To check you can type youtube-dl on your terminal and it’ll throw a permission error. To fix this, you need to give the right permissions, type in the following command and press enter.
5. And that’s it, now you should be able to download YouTube videos (or any videos from youtube-dl supported sites) by simply typing youtube-dl [video-link]. For example, to download one of my videos from YouTube, I’ll type in the following command.
youtube-dl https://youtu.be/LxTcvc4cgCY
6. You can find the downloaded video in your home folder on your mac. To bring up the home folder simply go to Finder > Go > Home or press the keyboard shortcut CMD + Shift + H.
Must Read: 10 Free macOS apps to boost your Productivity
Download 1080p video using FFmpeg
By default, FFmpeg will download the second highest resolution. You may have to install FFmpeg to get the highest quality video. Without FFmpeg, you will likely get the second highest which in our case was 720p. To install FFmpeg, type in the following command.
brew install youtube-dl ffmpeg
Also Read: 5 ways to transfer files from mac to mac
Wrapping Up
So, this is how you use youtube-dl to download videos using your terminal. The app works exactly as advertised, yet not many people know about it. Anyway, if you wish to change your download location or download different resolution of the video, you can check out youtube-dl command line parameters on Github.