node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป



A terminal program that downloads YouTube videos as MP3 files using


The easiest way to use yt2mp3 is to install it globally with:

npm install -g yt2mp3

by using this yt2mp3 will be installed in to your bin path.


Pass any video ids or youtube urls as arguments to yt2mp3:

yt2mp3 My2FRPA3Gf8

The videos will be saved to the current working directory using the youtube title as filename.