Skip to content

Instantly share code, notes, and snippets.

@todrobbins
Last active March 6, 2019 16:33
Show Gist options
  • Save todrobbins/2a3ec8879e2cc8bd72bca7496f964399 to your computer and use it in GitHub Desktop.
Save todrobbins/2a3ec8879e2cc8bd72bca7496f964399 to your computer and use it in GitHub Desktop.
install youtube-dl on macOS

because my younger brother is always asking how to do this: instructions

  1. Open the Terminal app
  2. Copy and paste the following into Terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Hit Enter
  2. Copy and paste the following into Terminal:
brew install varenc/ffmpeg/ffmpeg --with-openjpeg --with-rubberband --with-tesseract
  1. Hit Enter
  2. Copy and paste the following into Terminal:
brew install youtube-dl
  1. Hit Enter
  2. Copy a YouTube URL of your liking:
https://www.youtube.com/watch?v=oHg5SJYRHA0
  1. Type the following into Terminal: youtube-dl then paste the URL
  2. The command should look like the following:
youtube-dl https://www.youtube.com/watch?v=oHg5SJYRHA0
  1. Hit Enter
  2. Type open . and find your video to enoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment