Download YouTube via command line
How to download a Youtube video from command line? Mac OS X and/or Ubuntu Linux. Optionally, i'd like to save it in .avi or .mkv format.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
youtube-dl works on OS X, Linux and Windows, and can download videos in any format YouTube provides. You can use other tools like mencoder to change the codec or container format afterwards.