Simple module to backup and restore VS Code extensions and settings. Useful for transferring to an offline network. PS Core is supported.
Authored by Joseph Warren
Run the following to install VSCodeBackup from the PowerShell Gallery (to install on a server or for all users, remove the -Scope
parameter and run in an elevated session):
Install-Module VSCodeBackup -Scope CurrentUser
- Transferring to an offline network
- Easily migrating your settings from computer to computer
- Easily update to VS Code Insiders and keep all of your settings
PowerShell v5.1 and above required.
Backup-VSCode -Path c:\Users\bobby\Desktop -Settings -Extensions
Backs up settings and extension to a new folder on bobby's desktop
Restore-VSCode -Path .\VSCode-2019-01-31T23.33.58.3351871+01.00.zip -Settings -Extensions
Restores settings and extensions from the VSCode-2019-01-31T23.33.58.3351871+01.00.zip
For more information