How to install VScode extensions using npm?

Our development environment is very secured, It doesn't have access to public internet and limited with the installation of software and tools.

Since the npm registry is mirrored to our intranet, we are allowed to install the node modules.

The VS code is not listing any extensions. Is there any way that I can add the Extensions like "prettier" using npm install ?

Upvotes: 1

Views: 2135

Answers (1)

Matt Bierner
Matt Bierner

Reputation: 65223

This is not possible since VS code extensions are not published to npm (or, at least, they should not be).

You best option is probably to download the extension vsix files from the marketplace for offline use and install them manually

Upvotes: 3

Related Questions