how to update node js
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
how to update node js
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
how to update node js version
//check node version
>node -v
// let's install a program called n that will let us easily switch
//between Node versions.
>npm install -g n
//Upgrading to the latest stable version
>n stable
//Changing to a specific version
>n 10.16.0
upgrade node version
nvm install v12.16.2
udpate node terminal windows
#Run PowerShell as Admin
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us