Skip to content

Instantly share code, notes, and snippets.

@theguy000
Last active May 28, 2025 15:46
Show Gist options
  • Save theguy000/1f866abf57a0561983b49ea98eb10b5c to your computer and use it in GitHub Desktop.
Save theguy000/1f866abf57a0561983b49ea98eb10b5c to your computer and use it in GitHub Desktop.

Tampermonkey Script: VS Code Marketplace VSIX Downloader

This user script enhances the VS Code Marketplace website by adding a convenient "Download VSIX" button directly to extension detail pages. This allows users to easily download the VSIX package for any extension, which is useful for offline installations, specific version management, or local development workflows.


Key Features:

  • Direct Download: Adds a prominent "Download VSIX" button to extension pages.
  • Intelligent Extraction: Automatically fetches the extension's unique identifier and version from the page.
  • Dynamic Page Support: Waits for asynchronously loaded content, ensuring the button appears once all necessary details are available.
  • Progress Indication: Displays download progress directly on the button.
  • Custom Naming: Downloads VSIX files using a clean [ExtensionName][Version].vsix format (e.g., prettier-vscode1.20.5.vsix).

Why use it?

  • Offline Installation: Install extensions on machines without internet access.
  • Specific Version Control: Download and install older versions of an extension.
  • Local Development: Useful for side-loading or testing custom/pre-release extensions.

Installation:

  1. Install a User Script Manager: This script requires a browser extension like Tampermonkey (recommended for Chrome, Firefox, Edge, Brave, etc.) or Greasemonkey (Firefox).
  2. Install the Script: Once you have a user script manager installed, simply visit the script's page on Greasy Fork and click the "Install" button: Greasy Fork Script: VS Code Marketplace VSIX Downloader

Usage:

  1. Navigate to any extension page on the VS Code Marketplace.
  2. Look for the new green "Download VSIX" button, usually located on the right side of the page near the "More information" section.
  3. Click the button to initiate the download!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment