Node update command in ubuntu

command use to update node in linux  

The update process of node is quite simple. Before going to updating node, first go  to terminal, Type "sudo apt-get update"
After updating the packages, type "nvm install  version-name" example "nvm install 8.12.0"
Note : - If you know recommended node currently use  go to this link
if nvm is not recognized go this link

then type "nvm ls" (list of version available and gives information about version that ready to use in your system.

Type "nvm use version"  example "nvm use 8.12.0" .

Finally type "nvm alias default version-name" example "nvm alias default 8.12.0



Comments

Popular posts from this blog

How to use set interval in Typescript

Which type of feed is useful for feedburner either rss or atom

How to access local file path in ionic 4