You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use `kcl mod pull` to download a KCL package from the default OCI registry. KPM will automatically search for the kcl package from the OCI registry in `kpm.json`.
135
135
136
136
```shell
137
-
kpm pull <package_name>:<package_version>
137
+
kcl mod pull <package_name>:<package_version>
138
138
```
139
139
140
140
For the example, the command is as follows:
141
141
142
142
```shell
143
-
kpm pull MyPkg:v0.1.0
143
+
kcl mod pull MyPkg:v0.1.0
144
144
```
145
145
146
146
Or, you can download a kcl package from the specified OCI registry url.
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/current/user_docs/guides/package-management/4-how-to/9-oci_reg_supports.md
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/version-0.7.0/user_docs/guides/package-management/4-how-to/9-oci_reg_supports.md
You can use `kcl mod pull` to download a KCL package from the default OCI registry. KPM will automatically search for the kcl package from the OCI registry in `kpm.json`.
135
135
136
136
```shell
137
-
kpm pull <package_name>:<package_version>
137
+
kcl mod pull <package_name>:<package_version>
138
138
```
139
139
140
140
For the example, the command is as follows:
141
141
142
142
```shell
143
-
kpm pull MyPkg:v0.1.0
143
+
kcl mod pull MyPkg:v0.1.0
144
144
```
145
145
146
146
Or, you can download a kcl package from the specified OCI registry url.
0 commit comments