File tree 5 files changed +41
-2
lines changed
docs/user_docs/getting-started
i18n/zh-CN/docusaurus-plugin-content-docs
current/user_docs/getting-started
version-0.4.5/user_docs/getting-started
versioned_docs/version-0.4.5/user_docs/getting-started 5 files changed +41
-2
lines changed Original file line number Diff line number Diff line change 65
65
- name : Check KCL run
66
66
run : C:\kclvm\bin\kcl.exe hello.k && C:\kclvm\bin\kcl.exe hello.k --target native
67
67
68
+ - name : Check Scoop Install
69
+ shell : powershell
70
+ run : |
71
+ iwr -useb get.scoop.sh -outfile 'install.ps1'
72
+ .\install.ps1 -RunAsAdmin
73
+ scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
74
+ ~\scoop\shims\kcl.exe hello.k
75
+ ~\scoop\shims\kcl.exe hello.k --target native
76
+
68
77
- name : Set up Go
69
78
uses : actions/setup-go@v2
70
79
with :
81
90
- name : Check Go Installation
82
91
run : go install kusionstack.io/kclvm-go/cmds/kcl-go@main && C:\Users\runneradmin\go\bin\kcl-go.exe run hello.k
83
92
84
-
85
-
86
93
check-kcl-brew-install :
87
94
strategy :
88
95
matrix :
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ powershell -Command "iwr -useb https://kcl-lang.io/script/install.ps1 | iex"
54
54
brew install kcl-lang/tap/kclvm
55
55
```
56
56
57
+ ### Scoop (Windows)
58
+
59
+ Install [ Scoop] ( https://scoop.sh/ ) first, then add this bucket and install ` kcl ` by running:
60
+
61
+ ``` bash
62
+ scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
63
+ ```
64
+
57
65
### From Python3
58
66
59
67
Install ` kcl ` through the ` python3 ` and ` pip ` (` python3 ` requires 3.7.3+).
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ powershell -Command "iwr -useb https://kcl-lang.io/script/install.ps1 | iex"
54
54
brew install kcl-lang/tap/kclvm
55
55
```
56
56
57
+ ### Scoop (Windows)
58
+
59
+ 首先安装 [ Scoop] ( https://scoop.sh/ ) , 然后通过如下命令安装 ` kcl ` :
60
+
61
+ ``` bash
62
+ scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
63
+ ```
64
+
57
65
### 使用 Python3 安装
58
66
59
67
通过 ` Python3 ` 和 ` pip ` 安装 ` kcl ` (Python3 要求 3.7.3+)
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ powershell -Command "iwr -useb https://kcl-lang.io/script/install.ps1 | iex"
54
54
brew install kcl-lang/tap/kclvm
55
55
```
56
56
57
+ ### Scoop (Windows)
58
+
59
+ 首先安装 [ Scoop] ( https://scoop.sh/ ) , 然后通过如下命令安装 ` kcl ` :
60
+
61
+ ``` bash
62
+ scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
63
+ ```
64
+
57
65
### 使用 Python3 安装
58
66
59
67
通过 ` Python3 ` 和 ` pip ` 安装 ` kcl ` (Python3 要求 3.7.3+)
Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ powershell -Command "iwr -useb https://kcl-lang.io/script/install.ps1 | iex"
54
54
brew install kcl-lang/tap/kclvm
55
55
```
56
56
57
+ ### Scoop (Windows)
58
+
59
+ Install [ Scoop] ( https://scoop.sh/ ) first, then add this bucket and install ` kcl ` by running:
60
+
61
+ ``` bash
62
+ scoop bucket add kcl-lang https://github.com/kcl-lang/scoop-bucket.git
63
+ ```
64
+
57
65
### From Python3
58
66
59
67
Install ` kcl ` through the ` python3 ` and ` pip ` (` python3 ` requires 3.7.3+).
You can’t perform that action at this time.
0 commit comments