Windows WSL: WSL Daemon exists with code 0

Are you trying to run Cursor inside WSL, or running Cursor on Windows and connecting to WSL? Running Cursor directly in WSL isn’t supported right now, but running it on Windows and connecting to WSL should work

For the code . issue, you would have been prompted if you wanted Cursor to be installed for code on install. On Windows, you can remove the alias like this: