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

相关推荐
小毛驴8501 小时前
Jupyter Notebook 安装步骤
ide·python·jupyter
蓝白云13 小时前
告别繁琐配置!TreeATE Copilot 插件 VS Code 完整使用教程
vscode·copilot
蓝桉柒716 小时前
下载idea,用idea输入一个程序
java·ide·intellij-idea
一叶龙洲1 天前
Ubuntu24.04 Cursor导入vscode配置
vscode·编辑器
程序员良辰1 天前
Eclipse Memory Analyzer(MAT)入门教程:从生成 Heap Dump 到定位 Java 内存问题
java·ide·eclipse·tomcat·idea
pjj198541 天前
Hadoop-python中使用大数据1
java·ide·eclipse
2601_962294612 天前
Python开发工具哪个好?Python开发工具推荐
ide·文本编辑器·游戏开发·编程语言·python开发工具
执明wa2 天前
Android Studio 打包 APK
android·ide·android studio
好悬给我拽开线2 天前
RoboTTT
ide·vscode·编辑器
2601_962294612 天前
Python工具软件开发:借助InsCode AI IDE开启智能编程新时代
ide·python·ai·开发工具·智能化编程