Download YouTube videos on Mac OS X

Created on Apr 26, 2018 by 

  1. copybrew install youtube-dl
  2. copyyoutube-dl <link-to-youtube-video>


First of all you need to set up HomeBrew, follow the steps mentioned here: Setting up HomeBrew on Mac OS X

If not Brew, then you can even install it using MacPorts. To setup MacPorts, follow the steps mentioned here: [How To]: Installing MacPorts on Mac OS X and run the following command:

$ sudo port install youtube-dl

youtube-dl uses python script to download the videos and videos downloads with maximum bandwidth.

Source: Download Youtube videos on Mac OS X through Terminal.App

# command output

$ youtube-dl
[youtube] qT3PdS9tuZs: Downloading webpage
[youtube] qT3PdS9tuZs: Downloading video info webpage
[youtube] qT3PdS9tuZs: Extracting video information
[youtube] qT3PdS9tuZs: Downloading MPD manifest
[youtube] qT3PdS9tuZs: Downloading MPD manifest
[download] Destination: youtube-dl ยทยท a very complete and useful command-line video downloader-qT3PdS9tuZs.mp4
[download] 100% of 49.37MiB in 00:56