npm install uninstall command
Source: https: //www.jianshu.com/p/e6ee00ea03cd
npm install module
-
[Npm npm installed using the install] xxx xxx module to the current command line directory;
-
[Npm install xxx -g] Using global module mounted npm XXX;
-
[Npm install xxx] installed but does not write package.json;
-
[Npm install xxx -save] package.json installed and writes the "dependencies" in;
-
[Npm install xxx -save-dev] package.json installed and writes the "devDependencies" in.
npm delete module
- [Npm uninstall xxx xxx] delete module;
- [Npm uninstall -g xxx] remove the global module xxx;