Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to update node js through terminal

If "nvm" is not installed. In that case, go to https://github.com/coreybutler/nvm-windows/releases
Install and unzip the nvm-setup.zip file.
From cmd type nvm -v to ensure nvm is installed.
Press window key + x --> Windows PowerShell(Admin).  !!V.V.Important
  nvm install <version>
  nvm list 
  nvm use <version>
  npm install -g npm
  npm -v

!! Congratulations, you have done it.
 
PREVIOUS NEXT
Tagged: #update #node #js #terminal
ADD COMMENT
Topic
Name
1+3 =