Skip to content

nem update

Update declared packages to their latest versions.

Re-resolve declared packages to the first entry of their catalog's versions list, which catalogs keep newest first, as if nem use had been run again for each, then install and rewrite nem.toml and nem.lock. Without names, every declared package is updated. A pick below a declared version aborts the whole update. A catalog that was never updated is updated first; one last updated more than a week ago earns a warning to run nem catalog update.

Usage

nem update [<pkg>...] [flags]

Aliases: up

Examples

nem update                   # every declared package
nem update kubectl           # one package
nem update --dry-run         # show the plan without writing anything

Flags

FlagDescription
--dry-runreport the update plan without writing anything
-g, --globaltarget the global manifest

Global flags

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

See also