How to install Visual Studio Code extensions from Command line

前端 未结 5 1725
时光说笑
时光说笑 2021-01-30 06:41

How to install Visual Studio Code Extensions from Command Prompt while Code Instance is open. I want to install extension from Visual Studio Code gallery.

Following is th

5条回答
  •  借酒劲吻你
    2021-01-30 07:10

    I believe what you want is to install an extension as .vsix file. Documentation here. Copied for reference.

    You can manually install an VS Code extension packaged in a .vsix file. Simply install using the VS Code command line providing the path to the .vsix file.

    code --install-extension myExtensionFolder\myExtension.vsix

    The extension will be installed under your user .vscode/extensions folder. You may provide multiple .vsix files on the command line to install multiple extensions at once.

提交回复
热议问题