[node] npm part

I. Introduction

npm is: Node Package Manager. The node package manager. It is used to help release, install and depend on node modules.

2. Common commands

1. npm search package name to find package

2. npm install/i (shorthand) package name installation package

3. npm install/i package name --save installs the package and adds it to dependencies

4. npm install automatically installs the dependent packages in the configuration file

5. npm install/i package name -g global installation, usually a toolkit

6. npm -v View npm version

7. npm version View the versions of all modules

Continuously updating...

Guess you like

Origin blog.csdn.net/weixin_44431073/article/details/125180122