How can you export VS Code extension list

vscode export keyboard shortcuts
visual studio code
visual studio code sync extension
visual studio code download settings
how to sync visual studio code with github
visual studio code transfer extensions
visual studio code backup extensions and settings
vscode extension settings

I need to send all my installed extensions to my colleagues, how can I export them?

Extension manager seems to do nothing... It won't install any extension.

Automatic

If you are looking forward an easy one-stop tool to do it for you i would suggest you to look into Settings Sync extension.

It will allow

  1. Export your config and extensions
  2. Share it with coworkers and teams, you can update the config. Their settings will auto updated.

Manual

  1. Make sure you have the most current version of VSCode. If you install via a company portal you might not have the most current version.

  2. In machine A,

    UNIX:

    code --list-extensions | xargs -L 1 echo code --install-extension
    

    Windows (PowerShell, e. g. using VSCode's integrated Terminal):

    code --list-extensions | % { "code --install-extension $_" }
    
  3. copy and paste the echo output to machine B

sample output

code --install-extension Angular.ng-template
code --install-extension DSKWRK.vscode-generate-getter-setter
code --install-extension EditorConfig.EditorConfig
code --install-extension HookyQR.beautify

Please make sure you have code command line installed. For more information, please visit https://code.visualstudio.com/docs/editor/command-line

Sync/Export Settings and installed extensions to other devices , I'm wondering is there a way to export current user settings and installed extension of VS code? or a more modern way like syncing them using  Later on, you can simply execute that cmd file to download and install the same list of extensions on a fresh installation and other machines. Install Extension; Go to Tools->Export Extensions; Pick a name and location of the CMD script; Click 'Save' The tool will start scanning installed extensions, check for the latest version in Visual Studio Gallery, get the url and save it into the script. On the new machine or after reinstall: Run saved cmd script

I've need to do this myself a few times - especially when installing on another machine.

https://code.visualstudio.com/docs/editor/extension-gallery#_common-questions will give you the location of your folder

VS Code looks for extensions under your extensions folder .vscode/extensions. Depending on your platform it is located:

Windows %USERPROFILE%\.vscode\extensions
Mac ~/.vscode/extensions
Linux ~/.vscode/extensions

That should show you a list of the extensions

I've also had success using Visual Studio Code Settings Sync Extension to sync settings to GitHub gist

EDIT: In the lastest release of VSCode (May 2016) it is now possible to list the installed extension in the command line

code --list-extensions

How to export your VS Code extensions from terminal · GitHub, How to export your VS Code extensions from terminal. Note: Unix-like systems only. Export your extensions to a shell file: code --list-extensions | sed -e 's/^/code​  Allow we select and export a list of installed extensions, then we can easily install them in other machine. feature-request You can use CLI: $ code --list

I have developed an extension which will sync your all Visual Studio Code Settings Across multiple instances.

Key Features

  1. Use your github account token.
  2. Easy to Upload and Download on one click.
  3. Saves all settings and snippets files.
  4. Upload Key : Shift + Alt + u
  5. Download Key : Shift + Alt + d
  6. Type Sync In Order to View all sync options

It Sync

  1. Settings File
  2. Keybinding File
  3. Launch File
  4. Snippets Folder
  5. VSCode Extensions

Detail Documentation Source

VSCode Sync ReadMe

Download here : VS Code Settings Sync

Managing Extensions in Visual Studio Code, I wasn't able to find what I was hoping for, the closest thing being the answers to “​How can you export VS Code extension list” on StackOverflow  So as treehead's edit or MarkP's answer showed you can now list all extensions installed so the way to install that list of extensions would be to: code --list-extensions >> vs_code_extensions_list.txt Transfer the newly created file to the machine that you want to install those extensions to. On that machine you would:

I used the following command to copy my extensions from vscode to vscode insiders:

code --list-extensions | xargs -L 1 code-insiders --install-extension

The argument -L 1 allows us to execute the command code-insiders --install-extension once for each input line generated by code --list-extensions

How to copy Visual Code extensions to another machine – Alfred , I've submitted an answer for this on the main StackOverflow site - pasted below for context. I've need to do this myself a few times - especially when installing on​  Here are a few VS Code extensions that will help you work with Node modules more easily. npm: uses package. json to validate installed packages. Ensures that the installed packages have the correct version numbers, highlights installed packages missing from package. json, and packages that haven’t been installed.

Windows (Powershell) version of @Benny's answer

Machine A:

In VSCode Powershell terminal :

code --list-extensions > extensions.list

Machine B:

  1. Copy extension.list to the machine B

  2. In VSCode Powershell terminal :

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

How do I back up my VS Code settings and list of installed extensions?, Manual - By script. In machine A,. UNIX: code --list-extensions | xargs -L 1 echo code --install-extension. Windows (PowerShell, e. g. using VSCode's integrated  code --list-extensions | xargs -L 1 code-insiders --install-extension l'argument -L 1 nous permet d'exécuter la commande code-insiders --install-extension une fois pour chaque ligne d'entrée générée par code --list-extensions

Take Your VS Code Configuration Anywhere Easily with Settings Sync, One of my favorite things about VS Code is the extension My color theme (​Night Owl), my list of must-have plugins (Prettier with auto format  This will uninstall the extension and prompt you to reload VS Code. Disable an extension. If you don't want to permanently remove an extension, you can instead temporarily disable the extension by clicking the gear button at the right of an extension entry. You can disable an extension globally or just for your current Workspace. You will be prompted to reload VS Code after you disable an extension.

How to export VS Code extensions to another computer , Exporting VS Code extensions to another computer is easy using code --list-​extensions | ForEach-Object {"code --install-extension $_"}  Once you have made a high-quality extension, you can publish it to the VS Code Extension Marketplace so others can find, download, and use your extension. Alternatively, you can package an extension into the installable VSIX format and share it with other users. vsce, short for "Visual Studio Code Extensions", is a command-line tool for

How to Export VS Code Extensions to Another , json. This can be achieved by opening VS Code on the initial development environment and holding Ctrl+Shift+P to show a list of available  Visual Studio Code 10 Must Install Visual Studio Code Extensions - Duration: 13:40. Web Dev Simplified 96,141 views. 13:40. Visual Studio Code Tutorial for Beginners

Comments
  • Can someone provide a Windows friendly version of this command? xargs seems to be unique to UNIX.
  • @damanptyltd If you use GitHub, you probably have Git Bash installed on your Windows laptop/pc. You can use Unix/Mac commands in that - that how i got it working
  • for anybody who thinks they need a windows version, please note, you are supposed to run this from the vscode command line, you can get it by hitting Ctrl+`, then just paste it in!
  • I used the Ctrl+` with --list-extensions command above to get my settings out of my windows vscode and then used Ctrl+` to paste in the code --install results into my vscode instance on Linux (over RDP). It just worked. Downloaded and installed all of them. Awesome
  • This should work under Windows PowerShell: code --list-extensions | % { "code --install-extension $_" } (I also edited this into the answer)
  • For me (linux, code Version 1.7.1) it does not work... it just starts VS Code.
  • @vanthome I never tried on Linux but I think this is the same: I first had the same issue you had, until I realized the command line utility is in fact under the bin folder of the application installation. If you look at its content you will see it calls the main executable but telling it to execute the CLI instead.
  • FYI you'll need to run 'Shell command: Install 'code' command in PATH' from the command palette (cmd/ctrl-shift-p) within VS Code and then run the above code in your terminal to allow this to work.
  • does this automatically installs synced extensions?
  • Yes! Try that and let me know