解决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
相关推荐
TrisighT1 小时前
Skill 写成 2000 字说明书?Claude 根本不读——路由器思维与渐进式披露
aigc·ai编程·claude
_codeOH1 小时前
MCP 协议深度解读:AI 应用的"USB-C"时刻
人工智能·ai编程
卡卡罗特AI1 小时前
曾经狂推的 Superpowers,今天我终于把它卸载了! 臃肿,Token吞金兽!
后端·chatgpt·ai编程
爬楼的猪1 小时前
html-edge-tts-video: 用AI创建有声视频
人工智能·ai编程
Flynt2 小时前
MCP让Claude连上外部世界,我踩了5个坑才跑通
ai编程·claude·mcp
武子康2 小时前
Fable 5 的 7 月 19 日不是发布延期:模型可用性正在变成动态资源(九维可用性 + SLO 重构)
人工智能·chatgpt·claude
阿望说AI2 小时前
读完北大 Linian Wang 那篇 Kimi K2 排障文,我把大模型 API 想明白了:Tool Calling 根本不存在
程序员·ai编程
yzin2 小时前
零侵入接口 Mock:mockoon-gen skill
ai编程·vibecoding