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

相关推荐
yt948327 小时前
如何在IDE中通过Spark操作Hive
ide·hive·spark
来鸟 鸣间10 小时前
vscode 连接远程服务器
服务器·ide·vscode
zhlei_1234510 小时前
封闭内网安装配置VSCode Anconda3 并配置 PyQt5开发
ide·vscode·pyqt
m0_7493175210 小时前
vscode里如何用git
ide·git·vscode
___波子 Pro Max.13 小时前
Vim查看文件十六进制方法
编辑器·vim
Java斌16 小时前
70年使用权的IntelliJ IDEA Ultimate安装教程
java·ide·intellij-idea
weixin_4664851116 小时前
PyCharm中运行.py脚本程序
ide·python·pycharm
程序猿小D16 小时前
第14节 Node.js 全局对象
linux·前端·npm·node.js·编辑器·vim
aningxiaoxixi17 小时前
Android Studio 之基础代码解析
android·ide·android studio
waterHBO18 小时前
一个小小的 flask app, 几个小工具,拼凑一下
javascript·vscode·python·flask·web app·agent mode·vibe coding