Skip to content

nem unuse

Remove declared packages.

Remove packages from nem.toml, re-resolve nem.lock, and install what the new resolution needs so the remaining packages link against the versions it pins. Installed files stay under NEM_HOME because other projects may use them; nem clean reclaims them.

Usage

nem unuse <pkg>... [flags]

Examples

nem unuse kubectl            # drop it from this project
nem unuse -g jq              # drop it from the global manifest

Flags

FlagDescription
-g, --globaltarget the global manifest

Global flags

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

See also