How to Install a VSIX Extension in Visual Studio Code Manually ?


๐Ÿ‘คย Diwas Poudel ย ย  ๐Ÿ•’ 09 Nov 2023 ย ย  ๐Ÿ“ TECH

A VSIX(Visual Studio Extension) file is a Visual Studio extension package, essentially a zipped file containing an extension's code, assets, and metadata.

If someone has provided you with a VSIX extension for installation or that extension is not available in Visual Studio Code Marketplace or if you are having trouble installing an extension from the marketplace then you can manually install it using the steps shown in this article.

The steps are as follows:

  1. Open Visual Studio Code
  2. Click on the Extension icon on the left pane.
  3. Then click on 3 horizontal dotย 
  4. Then select "Install from VSIX..."
    Install extensions manually using extension button
    ย fig. Install from VSIX...
  5. Then select your extension that ends with .vsix from your computer and click on Install.
  6. Now your extension will be available under the extension icon.

Using Command line

You can also use the command line to install the Visual Studio Code extension manually. In this case, you do not need to open Visual Studio Code.

For this command is:

code --install "extension location"

eg.

code --install "dracula-theme.theme-dracula-2.24.3.vsix"

In this case, you have to open the command line in the same location where you have this extension.

Using MarketPlaceย 

If you have that extension in the Visual Studio Code market place then you can open that VSIX in the marketplace and then click on the Install button to install that extension.

Install extensions from website
fig. Install extensions from the website

ย