How to Install Node.js Using NVM

This blog is part of the course on how to create your own Cryptocurrency. This blog contains all the commands to install node.js using NVM. If you want to understand the complete process of coin building please go to this of How to create Cryptocurrency if you are not already enrolled. To enroll directly for the course please visit this link Create Own Cryptocurrency.

Step by Step Guide to Install Node.js using NVM

Step 1: Update and install the prerequisite

sudo apt-get update

sudo apt-get install build-essential libssl-dev



Step 2: Execute the curl bash

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash



Step 3: Refresh the terminal profile

source ~/.profile

#this step may not be required. If you restart the terminal , you will be #able to use nvm commands. Else you will have to fire the above command


Step 4: Check NVM Version

nvm --version



Step 5: Install Node.js

nvm install 12.14.0

Step 6: Check Node.js Version

node --version



About The Author