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

Function getInstallationPath

src/commands/install.tsx:42–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 warnings?: string[];
41};
42function getInstallationPath(): string {
43 const isWindows = env.platform === 'win32';
44 const homeDir = homedir();
45 if (isWindows) {
46 // Convert to Windows-style path
47 const windowsPath = join(homeDir, '.local', 'bin', 'claude.exe');
48 // Replace forward slashes with backslashes for Windows display
49 return windowsPath.replace(/\//g, '\\');
50 }
51 return '~/.local/bin/claude';
52}
53function SetupNotes(t0) {
54 const $ = _c(5);
55 const {

Callers 1

InstallFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected