Home > Web Front-end > JS Tutorial > body text

What is the relationship between nodejs, npm and nvm?

青灯夜游
Release: 2020-09-11 10:11:32
forward
2499 people have browsed it

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.

What is the relationship between nodejs, npm and nvm?

Video tutorial recommendation: nodejs tutorial

Why you need to understand the relationship between nvm, npm and nodejs:

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

Common usage scenarios include the following:

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)

The relationship between nvm, nodejs, and npm:

(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.

nvm builds the relationship diagram of reactNavite:

What is the relationship between nodejs, npm and nvm?

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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!