Skip to content

claude cli exists locally but the about settings say not installed - CC Switch

Quick fix

Upgrade CC Switch to v3.16.5 or newer, fixing the false conflict from multiple npm global package entry points on Windows and the garbled paths.

Error output
本地有claude cli但是关于设置里显示未安装,点了安装又说有了,安装失败
English translation

claude cli exists locally but the about settings say not installed; clicking install then says it already exists and the install fails

Using nvm and similar tools on Windows, npm generates several identically named entry files for one global package (an extension-less Unix shell script and a `.cmd` batch file, for example). Older CC Switch mistook those for separate installations and reported a conflict in the local environment check. The feature was also disabled entirely in v3.11.1 because of a side effect in the protocol handler, and the conflict diagnostic screen in v3.16.2 had a front-end rendering bug that garbled the displayed file paths (showing `gemini` as `gemmini`).

  1. Upgrade CC Switch to v3.16.5 or newer. That version fixed merging `.cmd`/`.exe` with the extension-less shim on Windows and anchors version detection to the genuinely runnable entry point, so it no longer reports a false multiple-installation conflict.

ToolCC Switch
Version3.11.1 - 3.16.3 (affected), fixed in 3.16.5
PlatformsWindows
It reports a multiple-installation conflict when I use nvm. What now?
npm generates several entry files on Windows (a `.cmd` and an extension-less script), and older CC Switch reports a false conflict. Upgrade to v3.16.5 for the fix.
Why does Windows show no CLI tool version information at all?
In v3.11.1, the environment check was temporarily disabled because of a protocol handler side effect. Upgrade to the latest version to re-enable it.
The environment check screen shows misspelled file paths (opeencode). What is that?
A front-end text rendering bug in v3.16.2 — the actual filesystem paths are correct. Upgrade to v3.16.5 or newer to resolve it.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.