YTUBE-DL
A modern CLI tool to download YouTube videos with a beautiful interface.
🚀 Quick Start
npx ytube-dl@latest
Then paste any YouTube URL and follow the interactive prompts!
Features
- 🎥 Download YouTube videos in various formats (MP4, MP3, WebM)
- 📊 Interactive mode with quality selection
- 📈 Real-time download progress with speed and ETA
- 🎨 Beautiful ASCII banner and colored output
- ⚡ Fast and efficient downloading
- 🔧 Configurable output directory
Installation
Option 1: Use with npx (No installation needed)
npx ytube-dl
npx ytube-dl@latest
Option 2: Install globally
npm install -g ytube-dl
ytube-dl
Option 3: Development setup
git clone https://github.com/zyuapp/ytube-dl.git
cd ytube-dl
npm install
npm run build
npm link
Usage
Basic Usage
npx ytube-dl
npx ytube-dl https://www.youtube.com/watch?v=VIDEO_ID
npx ytube-dl@latest
ytube-dl https://www.youtube.com/watch?v=VIDEO_ID
Interactive Mode
npx ytube-dl
npx ytube-dl --interactive
ytube-dl
ytube-dl --interactive
Options
-q, --quality - Video quality (1080p, 720p, 480p, 360p)
-f, --format - Output format (mp4, mp3, webm)
-o, --output - Output directory (default: current directory)
-i, --interactive - Interactive mode
Examples
npx ytube-dl https://www.youtube.com/watch?v=VIDEO_ID --quality 1080p
npx ytube-dl https://www.youtube.com/watch?v=VIDEO_ID --format mp3
npx ytube-dl https://www.youtube.com/watch?v=VIDEO_ID --output ~/Downloads
npx ytube-dl
npx ytube-dl@latest
Development
npm run dev
npm run lint
npm run typecheck
npm run build
Requirements
- Node.js >= 20.18.1
- npm or yarn
License
MIT