Skip to content

没有安装Git Bash时无法启动 #259

@WindwithNothing

Description

@WindwithNothing

What version of Kimi Code is running?

0.6.0

Which open platform/subscription were you using?

kimi code

Which model were you using?

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

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

What is the expected behavior?

No response

Additional information

虽然手动安装Git Bash就好了,但手册里没有提这事,应该不是预期的行为

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions