What is the difference between node.js runtime and npm package manager options while installing node.JS?
node.js, npm
Solution
First of all, it does not ask you to install Node.js runtime OR npm package manager, it offers you to install them both (if you want)
Now, Node.js runtime is basically what will understand your javascript code and execute it to produce a result.
Npm package manager is a tool which will allow you to install third party libraries (other people's code) by using the command line.
npm install express
will install the framework called express for example.
Problem
I am trying to install node.js by downloading the .exe file, I am confused and stuck on the Node.js setup where in it asks to install node.js runtime or npm package manager so I want to proceed through the installation after knowing fully the difference between the two. My question is what is the difference between node.js runtime and npm pacakage manager and what are all the features do I get on the two options. My basic purpose of installing node.js is to compile Typescript, Please help me to understand the features of the two package