cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Latest version of cursor doesn't work on WSL command line

Open 0x33dm opened this issue 1 year ago • 0 comments

Windows 10, WSL.

  • Installed Cursor "Cursor Setup 0.37.1 - x64" on Windows
  • Asked it to install the "cursor command"
  • went into WSL and run cursor . on a git repository
  • Got the following error:
$ cursor .
To use Cursor with the Windows Subsystem for Linux, please install Cursor in Windows and uninstall the Linux version in WSL. You can then use the `cursor` command in a WSL terminal just as you would in a normal command prompt.
Do you want to continue anyway? [y/N] y
To no longer see this prompt, start Cursor with the environment variable DONT_PROMPT_WSL_INSTALL defined.
/mnt/c/Users/xxx/AppData/Local/Programs/cursor/resources/app/bin/cursor: 62: /mnt/c/Users/xxx/AppData/Local/Programs/cursor/resources/app/bin/../cursor: not found

0x33dm avatar Jul 22 '24 06:07 0x33dm