File tree 5 files changed +46
-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 +46
-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 install kcl-lang/kclvm
75
+ kcl.exe hello.k
76
+ kcl.exe hello.k --target native
77
+
68
78
- name : Set up Go
69
79
uses : actions/setup-go@v2
70
80
with :
81
91
- name : Check Go Installation
82
92
run : go install kusionstack.io/kclvm-go/cmds/kcl-go@main && C:\Users\runneradmin\go\bin\kcl-go.exe run hello.k
83
93
84
-
85
-
86
94
check-kcl-brew-install :
87
95
strategy :
88
96
matrix :
Original file line number Diff line number Diff line change @@ -54,6 +54,15 @@ 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
+ scoop install kcl-lang/kclvm
64
+ ```
65
+
57
66
### From Python3
58
67
59
68
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,15 @@ 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
+ scoop install kcl-lang/kclvm
64
+ ```
65
+
57
66
### 使用 Python3 安装
58
67
59
68
通过 ` Python3 ` 和 ` pip ` 安装 ` kcl ` (Python3 要求 3.7.3+)
Original file line number Diff line number Diff line change @@ -54,6 +54,15 @@ 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
+ scoop install kcl-lang/kclvm
64
+ ```
65
+
57
66
### 使用 Python3 安装
58
67
59
68
通过 ` Python3 ` 和 ` pip ` 安装 ` kcl ` (Python3 要求 3.7.3+)
Original file line number Diff line number Diff line change @@ -54,6 +54,15 @@ 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
+ scoop install kcl-lang/kclvm
64
+ ```
65
+
57
66
### From Python3
58
67
59
68
Install ` kcl ` through the ` python3 ` and ` pip ` (` python3 ` requires 3.7.3+).
You can’t perform that action at this time.
0 commit comments