Hello cursor got automatically install in my WSL2 by running cursor .
in a folder which is cool but now the code .
command also starts cursor instead of vscode, I would like to keep the two commands separate for each editor is that possible to change?
Hey, Cursor does this using a syslink, which you can remove by deleting it at:
/usr/local/bin/code
Let me know if that sorts it out for you!
It feels wrong that cursor does this. It is widely known that vscode uses this.
Sorry you’ve struggled with this!
Installing the “code” alias to open Cursor is specifically an option in the case you use VSCode or have some commands that use the code alias already, and want to drop Cursor in as a VSCode replacement.
However, it shouldn’t have set itself up. When you install Cursor usually, you have the option to install both the “cursor” and the “code” command in the sign in page at the start. However, these are both optional and shouldn’t install by default.
If Cursor is installed in you’re Windows installation, you may have remove the “code” alias from the Windows path, as the command I said before was related to removing the alias in a UNIX-based OS.
Cursor did this by itself.