Migrating from Windows to WSL

Hi there, i’ve got myself into a bind. I’ve been working in windows, and wanted to migrate to WSL to take advantage of hot reload while using a docker environment.

I went through the process of migrating three projects across, but in doing so I lost my chats and cursor settings.

After half a day of wrangling I managed to recover my chats and settings, everything seemed to be working. I then tried to connect to the new working WSL instance to Github and that took me back to square one, I could see my chats but not click them, and my cursor settings are reset again.

Can you please help? I’ve spent a day on this, i’m hoping there is a quite solve as this is slightly beyond my level of expertise.

Hey, thanks for the detailed description. It looks like the issue is that Cursor on Windows and Cursor via WSL use different directories to store data. When you connected to GitHub from WSL, Cursor may have created a new profile.

Try restoring your chats:

  • Close Cursor completely
  • Find the folder %APPDATA%\Cursor\User\globalStorage (on Windows)
  • Check the file sizes of state.vscdb and state.vscdb.backup
  • If the backup is larger, rename it to state.vscdb (save a copy of the current one first)
  • Start Cursor

For settings, check %APPDATA%\Cursor\Backups\ and see if there’s anything you can restore.

A couple questions to help diagnose:

  • Which version of Cursor are you using?
  • How are you launching Cursor when working with WSL, from Windows or from the WSL terminal?

It’s important to know that Cursor data on Windows is stored in %APPDATA%\Cursor, but in WSL it will be a different path (like ~/.config/Cursor or similar). Those are separate storage locations.