akua pkgakua pkg add
akua pkg add [flags] <name>
ArgumentRequiredDescription
<name>yesLocal alias: the key in [dependencies]
FlagTypeDescription
--ocistringOCI reference (oci://registry/repo)
--gitstringGit repository URL
--pathstringLocal path, relative to the workspace
--repostringHTTPS Helm repository URL (with --chart)
--chartstringChart name within the Helm repo (required with --repo)
--urlstringHTTPS URL of one CustomResourceDefinition manifest file; sets crds = true
--k8sstringKubernetes version of the typed core schemas (oci://ghcr.io/kcl-lang/k8s at that tag), e.g. 1.35
--crdsstringGenerate typed schemas from the CustomResourceDefinitions in the source: a file or directory in it, . for all
--versionstringVersion (OCI) or semver requirement (Helm)
--tagstringGit tag
--revstringGit commit (full SHA)
--forcebooleanReplace an existing entry under name
--workspacestringWorkspace root containing akua.toml

Every command also accepts the universal flags.