Skip to content

Instantly share code, notes, and snippets.

@simonholm
Last active June 23, 2021 07:00
Show Gist options
  • Save simonholm/9816c33ae76b4fd7a48b5fc4c3529675 to your computer and use it in GitHub Desktop.
Save simonholm/9816c33ae76b4fd7a48b5fc4c3529675 to your computer and use it in GitHub Desktop.
get all your installed vscode ext with powershell
# source https://twitter.com/mbcrump/status/1275106945968386050?s=20
code --list-extensions | % {"code --install-extension $_"}
# my mod, if using vscode insiders
code-insiders --list-extensions | % {"code-insiders --install-extension $_"}
# other e.g. sorce https://twitter.com/rauschma/status/1240791939114467328?s=20
code --list-extensions > vscode.txt
cat vscode.txt | xargs -L 1 code --install-extension
# other e.g. save to shell etc https://gist.github.com/joseluisq/4740e37a9f2358357381e308aa39c52d
# source https://medium.com/@rudeboykw/copying-extension-to-another-compter-vscide-69b1f21d9f5c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment