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 重启下。解决这个问题。我试了两种方式都可以解决。

相关推荐
CodeWithMe5 分钟前
[ Vim ] 常用命令 and 配置
linux·编辑器·vim
luoyayun3616 分钟前
Trae+Qt+MSVC环境配置
vscode·qt·环境配置·trae qt
莲动渔舟32 分钟前
国产编辑器EverEdit - 洞察秋毫!内置文件比较功能!
编辑器·emeditor·notepad·everedit
HealthScience1 小时前
【异常错误】pycharm debug view变量的时候显示不全,中间会以...显示
ide·python·pycharm
waicsdn_haha4 小时前
Visual Studio Code 2025 安装与高效配置教程
c语言·ide·windows·vscode·微软·编辑器·win7
莲动渔舟5 小时前
国产编辑器EverEdit - 在编辑器中对文本进行排序
java·开发语言·编辑器
镰圈量化7 小时前
当电脑上有几个python版本Vscode选择特定版本python
开发语言·vscode·python
树欲静而风不止慢一点吧9 小时前
Visual Studio 2022配置网址参考
ide·visual studio
佚明zj9 小时前
libxls库的编译以及基于Visual studio的配置
ide·visual studio
AnalogElectronic10 小时前
问题记录,在使用android studio 构建项目时遇到的问题
android·ide·android studio