Shell Integration Unavailable VSCode + Cline 报错解决

网上找了很多资料都没有很好的解决,最后找到了:

故障排除 - Shell 集成不可用 ·cline/cline 维基 ·GitHub的https://github.com/cline/cline/wiki/Troubleshooting-%E2%80%90-Shell-Integration-Unavailable#still-having-trouble主要是我们系统里的 PowerShell 版本太低了,我默认是1.0 版本不行,最低要 至少 v7+

如果您的版本低于 7,请更新 PowerShell

还有一种就是安装Git

Git Bash

Git Bash 是一个终端模拟器,可在 Windows 上提供类似 Unix 的命令行体验。要使用 Git Bash,您需要:

  1. Download and run the Git for Windows installer from Git - Downloading Package
  2. Quit and re-open VSCode
  3. Press to open the Command Palette Ctrl + Shift + P
  4. Type "Terminal: Select Default Profile" and choose it
  5. Select "Git Bash"

可以关闭 VSCode 重启下。解决这个问题。我试了两种方式都可以解决。

相关推荐
CAE虚拟与现实1 天前
VSCode中的下载VSIX是指什么?
ide·vscode·编辑器
路边闲人21 天前
vscode启用GEMINI CODE ASSIST插件
ide·vscode·gemini
小蕾Java1 天前
Java 开发工具,最新2025 IDEA使用(附详细教程)
java·ide·intellij-idea
CAE虚拟与现实1 天前
VSCode官方汉化包
ide·vscode·编辑器·vscode汉化
CAE虚拟与现实1 天前
VSCode创建Python项目和运行py文件
ide·vscode·编辑器
资讯第一线1 天前
《RAD Studio 13.0》 [DELPHI 13.0] [官方原版IOS] 下载
ide
过-眼-云-烟1 天前
新版Android Studio能打包但无法run ‘app‘,编译通过后手机中没有安装,顶部一直转圈
android·ide·android studio
Stardep1 天前
ssh远程连接服务器到vscode上“连接失败”
服务器·vscode·ssh
扯淡的闲人1 天前
多语言编码Agent解决方案(4)-Eclipse插件实现
java·ide·eclipse
患得患失9492 天前
【前端】【高德地图WebJs】【知识体系搭建】面要素知识点——>多边形,圆形, 矩形,图形编辑器
前端·编辑器·高德地图·amap