A cross-platform tool to backup and restore your complete VS Code environment so that VS Code on another machine (or even another OS) feels exactly the same.
Works across:
- ✅ Windows → Windows
- ✅ Linux → Linux
- ✅ Windows ↔ Linux
No manual setup. No missing extensions. No lost settings.
This tool performs true environment cloning, not just settings sync.
It preserves:
- settings.json
- keybindings.json
- snippets
- VS Code profiles
- Extension global state (globalStorage)
- Extensions list (reinstalled cleanly during restore)
- workspaceStorage (cache, auto rebuilt)
- Extension binaries (.vscode/extensions)
This keeps backup fast, reliable, and correct.
File:
VSCode_Clone_Tool.exe
Features:
- GUI wizard
- Checkbox selection for backup
- Progress bar during restore
- About dialog
- Proper close confirmation
- No PowerShell required to run
- Open the EXE
- Select what to include
- Click "Backup VS Code"
- Zip file is created in:
Documents/VSCode_Backups- Open the EXE
- Click "Restore VS Code"
- Select the backup zip
- Wait for extensions to reinstall
- Open VS Code — it will feel identical
File:
vscode_clone_linux.sh
First time setup:
chmod +x vscode_clone_linux.shRun:
./vscode_clone_linux.shYou will get a guided wizard for backup and restore with step-by-step messages.
Backup zips are created in:
~/VSCode_Backups
You can:
- Backup on Windows → Restore on Ubuntu
- Backup on Ubuntu → Restore on Windows
The same zip works on both platforms.
Instead of copying extension files, the tool uses:
code --list-extensions
code --install-extensionThis ensures:
- Clean extension install
- No corrupted caches
- Fast restore
- Official VS Code supported method
- Close VS Code before backup or restore
- Internet is required during restore (for extension reinstall)
- First launch after restore may take a few seconds while VS Code rebuilds workspace cache (normal)
VS Code Settings Sync does not guarantee:
- Extension state
- Profiles
- Exact environment feel
This tool does.
After restore, you open VS Code and feel:
"This is my old machine."
Bhargav Vadaliya
Built using:
- PowerShell + WinForms + PS2EXE (Windows)
- Bash scripting (Linux)
MIT License