nvm
Node Package Manager
Subcommands
Name | Description |
---|---|
install | Download and install a <version>. Uses .nvmrc if available and version is omitted |
uninstall | Uninstall a version |
use | Modify PATH to use <version>. Uses .nvmrc if available and version is omitted |
exec | Run <command> on <version>. Uses .nvmrc if available and version is omitted |
run | Run `node` on <version> with <args> as arguments. Uses .nvmrc if available and version is omitted |
current | Display currently activated version of Node |
ls | List installed versions, matching a given <version> if provided |
ls-remote | List remote versions available for install, matching a given <version> if provided |
version | Resolve the given description to a single local version |
version-remote | Resolve the given description to a single remote version |
deactivate | Undo effects of `nvm` on current shell |
alias | Show all aliases beginning with <pattern> or Set an alias named <name> pointing to <version> |
unalias | Deletes the alias named <name> |
install-latest-npm | Attempt to upgrade to the latest working `npm` on the current node version |
reinstall-packages | Reinstall global `npm` packages contained in <version> to current version |
unload | Unload `nvm` from shell |
which | Display path to installed node version. Uses .nvmrc if available and version is omitted |
cache | |
set-colors | Set five text colors using format "yMeBg". Available when supported |
Options
Name | Description |
---|---|
--help | Show help page |
--version | Print out the installed version of nvm |
--no-colors | Suppress colored output |