📹 Pyutube - The Simplest YouTube Downloader CLI
May 18, 2026 · View on GitHub
Enjoying my project? Please show your appreciation by starring it on GitHub! ⭐
Pyutube is a small CLI for downloading YouTube videos, shorts, audio, and playlists.
Note
Have a feature request or bug report? tell me
Install
pip install pyutube
For local development:
pip install -e ".[dev]"
Use
pyutube "<youtube-url>"
pyutube "<youtube-url>" "/path/to/save"
pyutube "<youtube-url>" -a
pyutube "<youtube-url>" -f
pyutube "<playlist-url>"
pyutube "<youtube-url>" -- --ignore-errors --write-info-json
Short version:
URLis required.PATHis optional and defaults to the current directory.-adownloads audio only (as MP3).-fdownloads video only.- Playlist URLs first show a selection menu so you can choose specific items or download all.
- Anything after
--is forwarded toyt-dlp.
Check the CLI help:
pyutube --help
python -m pyutube --help
Docs
- EXAMPLES.md for quick command examples.
- QUALITY.md for local checks.
- CONTRIBUTING.md for contribution rules.
License
MIT. See LICENSE.