What is the difference between node.js runtime and npm package manager options while installing node.JS?

后端 未结 4 401
执念已碎
执念已碎 2021-02-01 01:32

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

4条回答
  •  Happy的楠姐
    2021-02-01 02:17

    • Node and Nodejs are the same. Interchangeable names for the same thing. Unless someone is talking about graph theory, trees or data structures.
    • Nvm is a Nodejs version manager. It let's you easily install and switch between versions. It retains globally installed packages for each version.
    • Npm is a package manager. It let's you install software (libraries, plugins, frameworks and applications). Typically this software is installed to build Node applications. Sometimes it isn't.

    Put more simply. Npm depends on Node. Nvm installs Node.

提交回复
热议问题