解决vscode 终端启动claude额外打开多个vs窗口问题

问题

claude code 版本2.1.70,

vs版本1.110.0,

在vscode终端中启动claude,无论是用命令行还是用vscode的插件Claude Code for VS Code,都会额外打开多个窗口。

但在其他终端中启动claude正常。

github上存在多个类似issue:

解决办法

  • 卸载vscode的claude插件

  • 卸载claude

    我的是用powershell装的,执行命令

    bash 复制代码
     Remove-Item -Path "$env:USERPROFILE\.local\bin\claude.exe" -Force
     Remove-Item -Path "$env:USERPROFILE\.local\share\claude" -Recurse -Force
  • 卸载claude-code-router:

    bash 复制代码
    npm uninstall -g @musistudio/claude-code-router
  • 重装claude(不要使用npm安装)

    windows系统powershell

    bash 复制代码
    irm https://claude.ai/install.ps1 | iex
相关推荐
子兮曰2 天前
Jev 爆发一周:7 秒 Agent 背后的 System One 生态与三场争议
前端·后端·ai编程
1点东西2 天前
做了近两年的Agent开发,其实真正要学的就是这五件事
llm·agent·ai编程
七牛云行业应用2 天前
Qwen-Image-2.1 开源部署完整指南:Diffusers、ComfyUI 与推理服务
ai编程
福如意如我心意2 天前
TencentDB Agent Memory和其他开源memory
ai编程
小虎AI生活2 天前
腾讯开源了一个项目,让 AI 直接用你已经登录好的浏览器
aigc·ai编程
瑶山2 天前
开源编程Agent-OpenCode完整使用教程
开源·agent·ai编程·opencode
技术民工之路2 天前
文生视频 vs 传统视频制作:核心优势
ai编程
plainGeekDev2 天前
Harness 实战:用 Android 登录模块搭一套可靠的 Agent 开发环境
aigc·ai编程·claude
黄昏回响2 天前
从标准化到智能化:信息化的一场“地基革命”——兼论AI如何重新定义“标准化”
ai编程