Skip to main content

nvm cache remove version

Remove cached Node.js download archives. Default when you pass version arguments to nvm cache remove.

Usage​

nvm cache remove version [version ...] [flags]
nvm cache remove [version ...] [flags]

Arguments​

ArgumentRequiredDescription
[version ...]No*Version specifiers to remove. With --all, each token is a major or major.minor prefix. *Required unless --prompt is used.

Flags​

FlagShortDescription
--all-aRemove all cached versions matching each token as a prefix.
--prompt-pInteractive artifact selection (GUI).

Examples​

nvm cache remove version 24.1.0
nvm cache remove 20 22
nvm cache remove version 20.1 --all
nvm cache remove version --prompt