Skip to content

nem catalog

Manage catalogs.

Catalogs are the ordered sources nem resolves packages from. The consumption commands edit the list in config.yaml; the maintenance commands work on a catalog's contents, whether a local directory of package manifests or a published OCI reference.

Usage

nem catalog

Aliases: cat

Examples

nem catalog list                                        # what is configured
nem catalog add corp registry.example/nem/catalog:v4    # add one
nem catalog lint .                                      # validate a checkout

Commands

Catalog consumption

CommandDescription
addAdd a catalog
disableDisable configured catalogs
enableEnable configured catalogs
listList configured catalogs
removeRemove a catalog
reorderReorder catalog precedence
updateUpdate oci catalogs from their remote

Catalog maintenance

CommandDescription
buildBuild a catalog's build-from-source packages on the host platform
bumpAdd newer upstream versions to package manifests
diffCompare a base catalog's package manifests against a target catalog
excludeExclude package versions, with a reason shown to users
fillDownload a catalog's upstream artifacts and publish them as archives
fmtRewrite package manifests to canonical form
lintValidate package manifests in a catalog
mirrorReplicate a catalog and its archives to another registry
outdatedReport packages whose upstream has a newer version
publishPublish a catalog to an OCI registry
testInstall packages and run their declared test steps
unexcludeLift the exclusion of package versions

Global flags

--color, --narration, --quiet, and --verbose apply to every command; see nem.

See also