Mras (@xieyang)windwos通过cmd和git bash使用Claude coe 中发帖

Claude Code 在 Windows 环境下的一种安装方案
问题背景
昨天看到论坛佬友通过 这个帖子 分享的方式使用 Claude Code,于是在家里的 Windows 电脑上尝试安装。通过 PowerShell 安装后,每次启动时都会遇到这个令人头疼的错误:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: No suitable shell found. Claude CLI requires a Posix shell envir...