For Windows code
symlink:
There are 2 (maybe more can work) ways that worked for me -
A.
- Go here and remove all the files named
code
:
c:\Users\<username>\AppData\Local\Programs\cursor\resources\app\bin
- Restart your terminal
B. As @a-hussien mentioned,
“Move up” your VScode
path upon the cursor
path on the environment variables’ Path table:
In my case, the VScode
path was inside the “user Path variables” table, and the cursor
path was inside the “system Path variables” table. I added the VScode
path (copied from the “user…table”) to the “system…table” and moved it up.
If we’re in the same boat, now, you have a choice to make.
Either take both to the same table and reorder, or delete one from one table and add to the other.
However, be careful, system Path variables get higher priority over user Path variables!
Some ref: