mirror of
https://github.com/jeremiah-k/vsixget.git
synced 2026-01-07 13:28:35 +00:00
Script that downloads vsix files from Visual Studio Marketplace
| .github/workflows | ||
| .trunk | ||
| src/vsixget | ||
| .gitignore | ||
| LICENSE | ||
| MANIFEST.in | ||
| pyproject.toml | ||
| README.md | ||
vsixget
A Python tool for downloading VSIX files from the Visual Studio Marketplace.
Features
- Download VS Code extensions directly from the marketplace
- Support for both direct extension IDs and marketplace URLs
- Specify version or download the latest
- Choose download directory
- Network connectivity checking before downloads
- Automatic retry logic with progressive delays
- Real-time download progress with MB and percentage indicators
- Reliable file integrity verification
- Universal package downloads for maximum compatibility
Installation
From PyPI (Recommended)
Using pipx (recommended for CLI tools):
pipx install vsixget
Using pip:
pip install vsixget
Note: pipx is recommended for installing CLI tools as it creates isolated environments and makes the tools available globally. If you don't have pipx installed, see the pipx installation guide.
From Source
# Clone the repository
git clone https://github.com/jeremiah-k/vsixget.git
cd vsixget
# Install in development mode
pipx install -e .
Usage
# Basic usage
vsixget publisher.extension
# Download latest version without prompting
vsixget --latest publisher.extension
# Specify version
vsixget -v 1.2.3 publisher.extension
# Specify download directory
vsixget -d ~/Downloads publisher.extension
# Download from marketplace URL
vsixget https://marketplace.visualstudio.com/items?itemName=publisher.extension
Examples
# Download the Python extension
vsixget ms-python.python
# Download latest version without prompting
vsixget --latest ms-python.python
# Download a specific version of the Python extension
vsixget -v 2023.4.1 ms-python.python
# Download the Augment extension to the Downloads directory
vsixget -d ~/Downloads augment.vscode-augment