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. https://stackoverflow.com/a/49936683/1007680

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


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