Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

update npm with nvm

# update nvm remote
nvm ls-remote

# install latest npm or npm lts
nvm install-latest-npm
nvm intall --lts

# select required version of npm, I always use the long term supported version
nvm use --lts
Source by muffinman.io #
 
PREVIOUS NEXT
Tagged: #update #npm #nvm
ADD COMMENT
Topic
Name
9+6 =