MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isCursorInstalled

Function isCursorInstalled

src/utils/ide.ts:1051–1054  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1049}
1050
1051export async function isCursorInstalled(): Promise<boolean> {
1052 const result = await execFileNoThrow('cursor', ['--version'])
1053 return result.code === 0
1054}
1055
1056export async function isWindsurfInstalled(): Promise<boolean> {
1057 const result = await execFileNoThrow('windsurf', ['--version'])

Callers 1

isRelevantFunction · 0.85

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected