Skip to main content
Version: 0.8

kcl mod pull

Pull a package from the kcl mod registry.

Usage

kcl mod pull [options][package_source]

Description

kcl mod pull will pull a package from the kcl mod registry.

options

--tag

The tag of the package to pull.

--help, -h

Show help for kcl mod push command.

Examples

pull the package by package name

You can use kcl mod pull to download a kcl package from the default OCI registry by kcl package name. kpm will download the kcl package from the default OCI registry specified in the configuration file kpm.json.

kcl mod pull <package_name>:<package_version>

pull the package by oci url

You can download a kcl package from an OCI-based registry url.

kcl mod pull --tag <kcl_package_version> <oci_url>