Skip to content

Instantly share code, notes, and snippets.

@robdecker
Forked from joseluisq/export_vscode_extesions.md
Last active January 28, 2020 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robdecker/8f563ef686b230d147ffb867c2f01730 to your computer and use it in GitHub Desktop.
Save robdecker/8f563ef686b230d147ffb867c2f01730 to your computer and use it in GitHub Desktop.
[How to export your VS Code extensions from terminal] #macos

How to export your VS Code extensions from terminal

Note: Unix-like systems only.

  1. Export your extensions to a shell file:
code --list-extensions | sed -e 's/^/code --install-extension /' > my_vscode_extensions.sh
  1. Verify your extensions installer file:
less my_vscode_extesions.sh

Install your extensions (optional)

Run your my_vscode_extensions.sh using Bash command:

bash my_vscode_extensions.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment