Skip to content

Commit 704deab

Browse files
committed
chore: add kcl-go install notes
1 parent a66faa7 commit 704deab

File tree

4 files changed

+8
-0
lines changed
  • docs/user_docs/getting-started
  • i18n/zh-CN/docusaurus-plugin-content-docs
  • versioned_docs/version-0.5.0/user_docs/getting-started

4 files changed

+8
-0
lines changed

docs/user_docs/getting-started/install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Add an alias for the kcl command (optional).
9393
alias kcl='kcl-go run'
9494
```
9595

96+
> Note: `kcl-go` does not rely on the installation of `kcl`, but if `kcl` exists in PATH, it will be used by `kcl-go` first.
97+
9698
### From Docker
9799

98100
+ Command

i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/getting-started/install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ go install kcl-lang.io/kcl-go/cmds/kcl-go@main
9393
alias kcl='kcl-go run'
9494
```
9595

96+
> 注意:`kcl-go` 并不依赖是否安装了 `kcl`,但如果 PATH 中存在 `kcl``kcl-go` 将优先使用 `PATH` 中的 `kcl`
97+
9698
### 使用 Docker 镜像安装
9799

98100
+ 基本命令

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.5.0/user_docs/getting-started/install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ go install kcl-lang.io/kcl-go/cmds/kcl-go@main
9393
alias kcl='kcl-go run'
9494
```
9595

96+
> 注意:`kcl-go` 并不依赖是否安装了 `kcl`,但如果 PATH 中存在 `kcl``kcl-go` 将优先使用 `PATH` 中的 `kcl`
97+
9698
### 使用 Docker 镜像安装
9799

98100
+ 基本命令

versioned_docs/version-0.5.0/user_docs/getting-started/install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Add an alias for the kcl command (optional).
9393
alias kcl='kcl-go run'
9494
```
9595

96+
> Note: `kcl-go` does not rely on the installation of `kcl`, but if `kcl` exists in PATH, it will be used by `kcl-go` first.
97+
9698
### From Docker
9799

98100
+ Command

0 commit comments

Comments
 (0)