mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
docs: mention Windows Git Bash requirement (#419)
* docs: mention Windows Git Bash requirement * docs: add Windows Git Bash changeset
This commit is contained in:
parent
459826292f
commit
d0f8e24e9b
6 changed files with 15 additions and 0 deletions
5
.changeset/windows-git-bash-docs.md
Normal file
5
.changeset/windows-git-bash-docs.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@moonshot-ai/kimi-code": patch
|
||||
---
|
||||
|
||||
Document the Git Bash prerequisite for Windows installs.
|
||||
|
|
@ -25,6 +25,8 @@ curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
|
|||
irm https://code.kimi.com/kimi-code/install.ps1 | iex
|
||||
```
|
||||
|
||||
> On Windows, install [Git for Windows](https://gitforwindows.org/) before first launch because Kimi Code CLI uses the bundled Git Bash as its shell environment. If Git Bash is installed in a custom location, set `KIMI_SHELL_PATH` to the absolute path of `bash.exe`.
|
||||
|
||||
Then, run it with a new shell session:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@ curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
|
|||
irm https://code.kimi.com/kimi-code/install.ps1 | iex
|
||||
```
|
||||
|
||||
> Windows 用户首次启动前还需要安装 [Git for Windows](https://gitforwindows.org/),Kimi Code CLI 会使用其中的 Git Bash 作为 Shell 环境。如果 Git Bash 安装在非标准路径,请把 `KIMI_SHELL_PATH` 设为 `bash.exe` 的绝对路径。
|
||||
|
||||
随后在新的终端会话中运行:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
|
|||
irm https://code.kimi.com/kimi-code/install.ps1 | iex
|
||||
```
|
||||
|
||||
> On Windows, install [Git for Windows](https://gitforwindows.org/) before first launch because Kimi Code CLI uses the bundled Git Bash as its shell environment. If Git Bash is installed in a custom location, set `KIMI_SHELL_PATH` to the absolute path of `bash.exe`.
|
||||
|
||||
Then run it with a new Terminal session:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
|
|||
irm https://code.kimi.com/kimi-code/install.ps1 | iex
|
||||
```
|
||||
|
||||
> On Windows, install [Git for Windows](https://gitforwindows.org/) before first launch. Kimi Code CLI uses the bundled Git Bash as its shell environment; if Git Bash is installed in a custom location, set `KIMI_SHELL_PATH` to the absolute path of `bash.exe`.
|
||||
|
||||
The script automatically downloads the latest release, verifies the checksum, and places the `kimi` executable on your `PATH`.
|
||||
|
||||
### npm installation
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
|
|||
irm https://code.kimi.com/kimi-code/install.ps1 | iex
|
||||
```
|
||||
|
||||
> Windows 用户首次启动前还需要安装 [Git for Windows](https://gitforwindows.org/),Kimi Code CLI 会使用其中的 Git Bash 作为 Shell 环境。如果 Git Bash 安装在非标准路径,请把 `KIMI_SHELL_PATH` 设为 `bash.exe` 的绝对路径。
|
||||
|
||||
脚本会自动下载最新版本、校验 checksum,并把 `kimi` 可执行文件放到你的 `PATH` 中。
|
||||
|
||||
### npm 安装
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue