youtube-dl is a terminal application which lets you download YouTube videos easily without ads and other bloat, unlike other YouTube video downloaders online.
Prerequisites
HomeBrew
- Install brew using the official HomeBrew Installation instructions
- Go ahead if already installed
Installing youtube-dl
To install youtube-dl using brew
, run the following command in the MacOS terminal:
brew install youtube-dl
Downloading videos
To download YouTube videos using youtube-dl
, use the following command:
youtube-dl 'youtube-url'
Make sure to use quotes around the URL.
Resources
$ man youtube-dl
- youtube-dl Official Site