SHARE:

Visual Studio Code: Did you know… You can generate an installation command of your installed extensions ?

Introduction

Dear Visual Studio Code lovers! I have a little tip for you! Do you love Visual Studio Code so much that you want to use it on several different workstations? Got a ton of extensions and bored installing them one by one with the GUI? Well I have the solution for you! I show you how to generate an install command and copy and paste it into another terminal of Visual Studio Code!

How to generate the command

Open the Terminal In Visual Studio Code and type the following command:

code --list-extensions | % { "code --install-extension $_" }

On my end it gives the following output that I need to copy and then paste in another Visual Studio Code:

Practical isn’t it 😉

Written by

anthonygiretti

Anthony is a specialist in Web technologies (14 years of experience), in particular Microsoft .NET and learns the Cloud Azure platform. He has received twice the Microsoft MVP award and he is also certified Microsoft MCSD and Azure Fundamentals.