the difference:
- nvm: nodejs version management tool.
In other words: one nvm can manage many node versions and npm versions.- nodejs: the code library needed during project development
- npm: nodejs package management tool.
When installing nodejs, npm will also be installed along with it. It is a package management tool.
npm manages third-party plugins in nodejs
relationship:
nvm: manage the version of nodejs and npm
npm: can manage the third-party plugins of nodejs