Note: Unix-like systems only.
- Export your extensions to a shell file:
code --list-extensions | sed -e 's/^/code --install-extension /' > my_vscode_extensions.sh
- Verify your extensions installer file:
less my_vscode_extesions.sh
Run your my_vscode_extensions.sh
using Bash command:
bash my_vscode_extensions.sh
It's very strange...
Works with CLI cmd.exe and powershell.exe.
Not with wsl 2 in Ubuntu.
With CLI wsl 2
With CLI cmd.exe