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

相关推荐
OxyTheCrack1 小时前
VSCode使用SSH连接VMware虚拟机环境操作指南
ide·vscode·ssh
AI浩1 小时前
第 5 章:集成开发环境 (IDE) 协作 —— 终端与编辑器的双剑合璧
ide·人工智能·编辑器
日出等日落1 小时前
用 Kavita实现我的远程数字书屋搭建记!
java·开发语言·ide·vscode·编辑器
守护安静星空2 小时前
ubuntu vscode 调试 at32f435vmt7基于AT32IDE
linux·运维·笔记·vscode·ubuntu
一见2 小时前
vscode等的“Go Team at Google”插件
ide·vscode·golang
IT大师兄吖3 小时前
faster-whisper 音频转字幕 懒人整合包
ide·macos·xcode
F1FJJ20 小时前
Shield CLI PostgreSQL 插件现已上架 VS Code 扩展市场
网络·vscode·网络协议·postgresql·开源软件
golang学习记1 天前
VS Code 1.113 发布:Agent 与 Chat 体验全面升级!
vscode·microsoft
Sarapines Programmer1 天前
【VSCode插件】VSCode 插件 Roo Code 简明指南
ide·vscode·编辑器
monsion1 天前
Code Agent 不是编程工具:它是今天最接近通用 Agent 的现成形态
人工智能·vscode·个人开发