diff --git a/docs/tools/cli/package-management/command-reference/11.update.md b/docs/tools/cli/package-management/command-reference/11.update.md new file mode 100644 index 00000000..bac1dee7 --- /dev/null +++ b/docs/tools/cli/package-management/command-reference/11.update.md @@ -0,0 +1,36 @@ +# kcl mod update + +Update kcl module dependencies. + +## Usage + +```shell +kcl mod update [options][module_name] +``` + +## Description + +`kcl mod update` will update the dependencies listed in kcl.mod.lock based on kcl.mod. + +You can also update a package by specifying the path of that package. + + +## Options + +### --help, -h + +Show help for `kcl mod update` command. + +## Examples + +### Update the current module + +```shell +kcl mod update +``` + +### Update the module with the specified path + +```shell +kcl mod update path/to/package +```