npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vscplugit

v1.0.0

Published

A TypeScript CLI tool for downloading, installing, and uninstalling VSCode extensions.

Readme

vscplugit

NPM Version NPM Downloads GitHub Repo Stars GitHub License

Overview

vscplugit is an ESM-only, TypeScript-based CLI tool for downloading, installing, and uninstalling Visual Studio Code extensions. Leveraging modern packages like inquirer and ora alongside the robust vscode-marketplace-client API, vscplugit offers a streamlined way to manage your VSCode extensions directly from the command line.

Index

Features

  • Download Extensions: Retrieve the latest VSCode extension VSIX file from the marketplace.
  • Install Extensions: Install an extension either from an existing VSIX file or by downloading the latest version first.
  • Uninstall Extensions: Remove a VSCode extension using its publisher and extension name.
  • ESM-Only Architecture: Fully leverages modern ESM features in Node.js (v18+).
  • Modular Command Registration: Built using SOLID principles for easy extension and maintenance.
  • Clear Error Handling: Uses custom error classes to provide precise and descriptive error messages.

Installation

Install vscplugit globally using npm:

npm install -g vscplugit

Or clone the repository and build it locally:

git clone https://github.com/ManuelGil/vscplugit.git
cd vscplugit
npm install
npm run build

Usage

After installation, use vscplugit from your command line. Below are some examples.

Download Extension

Download the latest VSCode extension VSIX file:

vscplugit download --publisher <publisher> --extension <extension> [--output <outputDir>]

Options:

  • --publisher, -p: Publisher name of the extension.
  • --extension, -e: Name of the extension.
  • --output, -o: (Optional) Directory where the VSIX file will be saved (default: ./downloads).

Install Extension

The install command is versatile—it can download the VSIX file before installing it or install directly from an existing VSIX file.

Example: Install from Existing VSIX File

vscplugit install --publisher <publisher> --extension <extension> --file /path/to/extension.vsix

Options:

  • --file, -f: Path to an existing VSIX file to install.

Example: Download Then Install

If you do not supply a VSIX file, the tool will download the latest VSIX file from the marketplace before installing it:

vscplugit install --publisher <publisher> --extension <extension> [--output <downloadDir>]

Options:

  • --output, -o: (Optional) Directory to save the downloaded VSIX file (default: ./downloads).

Combined Installation Example

You can combine options to customize your workflow. For example, to install an extension while specifying both a download directory and a fallback VSIX file path:

vscplugit install --publisher ms-vscode --extension cpptools --output ./my-downloads --file ./fallback/cpptools.vsix

In this scenario, if the fallback VSIX file isn’t found, the tool downloads the file to ./my-downloads before proceeding with the installation.

Debugging & Verbose Mode

For more detailed output during execution, you can enable verbose logging (if supported by your environment):

VERBOSE=true vscplugit download --publisher ms-vscode --extension cpptools

Note: Ensure you are using Node.js v18+ and an ESM-compatible shell.

Uninstall Extension

Remove a VSCode extension by specifying its publisher and extension name:

vscplugit uninstall --publisher <publisher> --extension <extension>

Options:

  • --publisher, -p: Publisher name of the extension.
  • --extension, -e: Name of the extension.

Error Handling

vscplugit employs custom error classes for precise error management. For example:

try {
  // Execute a command
} catch (error) {
  if (error instanceof ExtensionNotFoundError) {
    console.error('Extension not found:', error.message);
  } else if (error instanceof VersionNotFoundError) {
    console.error('Version not found:', error.message);
  } else if (error instanceof VsixFileNotFoundError) {
    console.error('VSIX file not found:', error.message);
  } else {
    console.error('An unexpected error occurred:', error);
  }
}

Support

If you encounter any issues or have suggestions for improvements, please open an issue on GitHub.

Feedback

If you enjoy using CodeMark+, please consider leaving a review on the VSCode Marketplace.

Follow Me

Stay updated on the latest features, improvements, and future projects by following me:

Contributing

We welcome contributions from the community! To contribute, fork the GitHub repository and submit a pull request.

Before contributing, please review our Contribution Guidelines for details on coding standards and best practices.

Code of Conduct

We strive to create a welcoming, inclusive, and respectful environment for all contributors. Please read our Code of Conduct before participating in this project.

Changelog

See the full list of changes in the CHANGELOG.md file.

License

This extension is licensed under the MIT License. See the MIT License for more details.