Skip to content

nem sync

Install locked packages missing on this machine.

Install exactly what nem.lock pins and nothing else, verifying every download against its digest. It never resolves versions or rewrites files, which makes it the command for teammates, CI, and agents. A catalog that was never updated is updated first. A nem.toml declaration the lockfile does not cover earns a warning to run nem lock.

Usage

nem sync [flags]

Examples

nem sync                     # in a checked-out project
nem sync -g                  # the global scope

Flags

FlagDescription
-g, --globaltarget the global scope

Global flags

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

See also