Skip to content

KatowProject/yt-downloader-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube Downloader CLI

A simple CLI tool to download youtube videos and playlists.

Pre-requisites

  • Node.js or Bun.js
  • FFmpeg (for audio only downloads)

How to Install FFmpeg

Windows

  1. Install chocolatey
  2. Run the following command in cmd
choco install ffmpeg

Linux Run the following command in terminal

sudo apt-get install ffmpeg

Mac Run the following command in terminal

brew install ffmpeg

Termux Run the following command in termux

pkg install ffmpeg

Installation

# if using nodejs
npm i

# if using bun
bun install

Usage

Node.js

node index.js

Bun.js

bun index.js

Build

Node.js

Not available

Bun.js

bun build index.js --compile --outfile dist/yt-downloader.exe

Features

  • Download video
  • Download video audio only
  • Download playlist video
  • Download playlist audio only.

Limitations

  • Playlist download is limited to 100 videos.
  • Don't support downloading videos with age restrictions.
  • Don't support downloading private videos.

About

support song and playlist

Resources

Stars

Watchers

Forks

Contributors