
Windows系统下安装Claude code提示这里简述出问题的场景问题场景Windows系统下安装Claude codenodejs版本v18.19.0git版本2.54.0npm版本10.2.3系统可以正常运行安装命令npminstall-ganthropic-ai/claude-code问题描述提示遇到的问题运行claude--version出现claude: The term ‘claude’ is not recognized as a name of a cmdlet, function, script file, or executable program.Check the spelling of the name, or if a path was included, verify that the path is correct and try again.原因分析1.node安装完环境变量设置没有保存2.终端没有全部关闭解决方案核对node环境变量是否全部生效关闭所有的终端重新打开新窗口