Mastering the relationship between nodejs, npm, and nvm will help you understand how the reactNative project is modularized. The following article will take you to understand the relationship between nvm, npm, and nodejs. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
Video tutorial recommendation: nodejs tutorial
ReactNative project construction uses these tools for build management.
Understanding their relationship, you can understand how the reactNative project is modularized.
nvm: nodeJs version management tool, manages nodejs version and npm version
nodeJs: The code library required in the reactNative development process.
npm: It is a package management tool installed along with nodeJs. npm manages third-party plug-ins corresponding to nodeJs
1. Allow Users download third-party packages written by others from the npm server for local use (such as Taobao server)
2. Allow users to upload packages written by themselves to the NPM server for others to use (such as the npm server built by themselves)
(1)nvm manages the construction of nodejs and the corresponding npm, and npm manages the third-party plug-in corresponding to nodejs
(2)A The reactNative project only contains a nodejs and npm. npm and nodejs are in a matching relationship, a one-to-one relationship.
For more programming-related knowledge, please visit: Introduction to Programming! !
The above is the detailed content of What is the relationship between nodejs, npm and nvm?. For more information, please follow other related articles on the PHP Chinese website!