You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS D:\optimization-research> kimi
D:\a\kimi-code\kimi-code\apps\kimi-code\dist-native\intermediates\main.cjs:120601
if (error instanceof KaosShellNotFoundError) throw new KimiError(ErrorCodes.SHELL_GIT_BASH_NOT_FOUND, error.message);
^
KimiError: Git Bash was not found on this Windows host. Install Git for Windows from https://gitforwindows.org/ or set KIMI_SHELL_PATH to a bash.exe. Checked: C:\Program Files\Git\bin\bash.exe, C:\Program Files (x86)\Git\bin\bash.exe, C:\Users\72439\AppData\Local\Programs\Git\bin\bash.exe.
at D:\a\kimi-code\kimi-code\apps\kimi-code\dist-native\intermediates\main.cjs:120601:55 {
code: 'shell.git_bash_not_found',
details: undefined,
cause: undefined
}
Node.js v24.15.0
What steps can reproduce the bug?
新电脑,运行文档的安装命令 > irm https://code.kimi.com/kimi-code/install.ps1 | iex
然后,在命令行启动kimi > kimi
Fixed in #305: detectEnvironment no longer throws when Git Bash is absent — it returns shell-availability metadata, so KimiCore constructs successfully, the CLI starts, and only the Bash tool is omitted (with a startup warning and an in-prompt note telling the model to use the built-in file tools). KIMI_SHELL_PATH still overrides detection.
Verified locally that the real detectEnvironment(win32, no Git Bash) path returns shellAvailable=false without throwing, and that the packaged dist/main.mjs boots past the core-construction point that used to crash here.
Activity
fix: unified system dependency check; start without Git Bash (Moonsho…
fancyboi999 commentedon Jun 2, 2026
Fixed in #305:
detectEnvironmentno longer throws when Git Bash is absent — it returns shell-availability metadata, soKimiCoreconstructs successfully, the CLI starts, and only theBashtool is omitted (with a startup warning and an in-prompt note telling the model to use the built-in file tools).KIMI_SHELL_PATHstill overrides detection.Verified locally that the real
detectEnvironment(win32, no Git Bash)path returnsshellAvailable=falsewithout throwing, and that the packageddist/main.mjsboots past the core-construction point that used to crash here.fix: unified system dependency check; start without Git Bash (Moonsho…
fix: unified system dependency check; start without Git Bash (Moonsho…
fix: unified system dependency check; start without Git Bash (Moonsho…
7Sageer commentedon Jun 4, 2026
这个是预期行为——目前 Windows 上需要 Git Bash 作为 shell 环境,不过安装文档里确实应该提前说明这个依赖,我们会补上。