See here for further information.
code --list-extensions | xargs -L 1 echo code --install-extension
💡 If you want to sync your extensions to another instance of VSCode, have a look at the plugin Settings Sync
or read this question on Stackoverflow.
- Windows:
%USERPROFILE%\.vscode\extensions
- Mac:
~/.vscode/extensions
- Linux:
~/.vscode/extensions