Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>y2cli — YouTube DownloaderNew to Visual Studio Code? Get it now.
y2cli — YouTube Downloader

y2cli — YouTube Downloader

Emmy Tresor BANA

|
2 installs
| (0) | Free
Download YouTube videos/audio right from VS Code, powered by yt-dlp
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

y2cli — VS Code Extension

Download YouTube videos and audio directly from VS Code, powered by y2cli.

Features

  • Clean webview panel with video thumbnail, title, and format picker
  • Download MP4 (1080p → 360p) or MP3 with one click
  • Live progress bar inside VS Code
  • "Download from Clipboard" command for quick use
  • Configurable Python path and output directory

Requirements

Install the y2cli Python package first:

pip install y2cli

Usage

  1. Open Command Palette (Ctrl+Shift+P)
  2. Run y2cli: Open Downloader
  3. Paste a YouTube URL and click Fetch
  4. Pick a format and click Download

Or use y2cli: Download from Clipboard URL to skip the panel entirely — it reads the URL from your clipboard and lets you pick a format via Quick Pick.

Extension Settings

Setting Default Description
y2cli.pythonPath py Python executable (py, python3, full path)
y2cli.outputDir ~/Downloads/y2cli Where files are saved
y2cli.serverPort 7272 Local server port

Install from Source

git clone https://github.com/Tresorbana/y2cli-vscode
cd y2cli-vscode
# Install vsce if needed: npm install -g @vscode/vsce
vsce package
code --install-extension y2cli-1.0.0.vsix

Or press F5 in VS Code to launch the Extension Development Host directly.

Related Projects

  • y2cli — Python CLI package
  • y2cli-browser — Browser extension

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft