Skip to content

Look for Cursor where its installer puts it - #808

Merged
SimonCropp merged 1 commit into
mainfrom
fix-cursor-per-user-install
Aug 22, 2026
Merged

Look for Cursor where its installer puts it#808
SimonCropp merged 1 commit into
mainfrom
fix-cursor-per-user-install

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Only %ProgramFiles%\Cursor\ was searched. Cursor's own installer defaults to a
per user install under %LocalAppData%\Programs\cursor, so an ordinary
installation was not found unless the machine happened to also have a system
wide one. VS Code's definition already lists both locations for the same reason.

Additive: the existing directory is kept and the per user one is searched first,
so nothing that resolves today stops resolving.

Not verified against an install - I have no Cursor here - so this rests on the
documented layout rather than on having watched it resolve. One thing I
deliberately did not change on the same evidence: PathCommandName is still
Cursor.exe, while Cursor, being a VS Code fork, most likely ships a cursor.cmd
shim the way VS Code ships code.cmd. VS Code's definition uses the shim for both
names. If that holds for Cursor too then the PATH lookup here is still wrong,
and someone with it installed should check.

Only %ProgramFiles%\Cursor\ was searched. Cursor's own installer defaults to a
per user install under %LocalAppData%\Programs\cursor\, so an ordinary
installation was not found unless the machine happened to also have a system
wide one. VS Code's definition already lists both locations for the same reason.

Additive: the existing directory is kept and the per user one is searched first,
so nothing that resolves today stops resolving.

Not verified against an install - I have no Cursor here - so this rests on the
documented layout rather than on having watched it resolve. One thing I
deliberately did not change on the same evidence: PathCommandName is still
Cursor.exe, while Cursor, being a VS Code fork, most likely ships a cursor.cmd
shim the way VS Code ships code.cmd. VS Code's definition uses the shim for both
names. If that holds for Cursor too then the PATH lookup here is still wrong,
and someone with it installed should check.
@SimonCropp SimonCropp added this to the 20.0.0 milestone Aug 22, 2026
@SimonCropp
SimonCropp merged commit 6c8584c into main Aug 22, 2026
10 checks passed
@SimonCropp
SimonCropp deleted the fix-cursor-per-user-install branch August 22, 2026 04:10
This was referenced Aug 26, 2026
This was referenced Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant