Skip to Content
All memories

Export VS Code extensions

 — #vscode

1. In machine A


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 $_" }

2. Copy and paste the echo output to machine B

sample output

code --install-extension
code --install-extension DSKWRK.vscode-generate-getter-setter
code --install-extension EditorConfig.EditorConfig
code --install-extension HookyQR.beautifyl

Please make sure you have code command line installed. For more information, please visit