I recommend you learn to install NVM before installing the node.js packages. The NVM is a node package versioning where users can select which nodejs version to use when developing web applications. Before I show you how to install NVM, let’s explore the advantages of NVM:- Node Version Manager: In software development, particularly with JavaScript, NVM usually refers to Node Version Manager. It’s a tool that allows you to manage multiple installations of Node.js. This is particularly useful when you’re working on projects that require different versions of Node.js, as NVM lets you switch between them easily. Download NVM for Windows over here. Download
Step 1:
Click the download button Download
Step 2:
Click on the Download Now!
Step 3:
Make sure you download and install ‘nvm-setup.zip’
Step 4:
Installing stable latest LTS from Node.js . Go to Windows CMD and type: – nvm install lts
Step 5:
Once you install then use just have to type:- nvm use <version number>
Step 6:
in the CMD type :- node -v . If you are able to the node version number means the nodejs sucessfully.