- Make sure you have the most current version of Visual Studio Code. If you install via a company portal, you might not have the most current version.
- On machine A
$ code --list-extensions | xargs -L 1 echo code --install-extension > code.sh
- Export code.sh to remote machine B and run
$ chmod +x code.sh