How to export Visual Studio Code Plugins list

You may have a situation where you need to export your config to another machine, or you may want to share your visual studio code plugins list with another developer. Luckily, there is a nice way of doing this through the command line.

Machine A:

In VSCode Powershell terminal :

code –list-extensions > extensions.list

Machine B:

Copy extension.list to the machine B

In VSCode Powershell terminal :

cat extensions.list % { code –install-extension $_}

Many thanks to @milanio on StackOverflow for this great solution.

Posted on 11 Apr 2019 by Joel Murphy. Last updated: September 09, 2019.

Share your thoughts on: 'How to export Visual Studio Code Plugins list':

πŸ‘€ Looking for more content?

There's plenty more content to explore: