Skip to content

Instantly share code, notes, and snippets.

@joseluisq
Last active May 6, 2024 01:34
Show Gist options
  • Star 54 You must be signed in to star a gist
  • Fork 16 You must be signed in to fork a gist
  • Save joseluisq/4740e37a9f2358357381e308aa39c52d to your computer and use it in GitHub Desktop.
Save joseluisq/4740e37a9f2358357381e308aa39c52d to your computer and use it in GitHub Desktop.
How to export your VS Code extensions from terminal

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
@FractalHQ
Copy link

is it possible to filter by enabled extensions?

@Binly42
Copy link

Binly42 commented Oct 16, 2021

is it possible to filter by enabled extensions?

sadly seems impossible ... (microsoft/vscode#112088 (comment)

@avelops
Copy link

avelops commented Sep 18, 2023

thanks! this works with gitpod.io web IDE :)

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