Skip to content

Instantly share code, notes, and snippets.

@aluevano
Created September 27, 2022 23:55
Show Gist options
  • Save aluevano/8b9cfba4f49972865ed1ca173d48d99f to your computer and use it in GitHub Desktop.
Save aluevano/8b9cfba4f49972865ed1ca173d48d99f to your computer and use it in GitHub Desktop.
How to Export your VS Code Extensions

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