1.NPM Install KOA
-Installing the KOA module
2.NPM Install
-Install all dependent modules in Package.json
3.NPM Update
-Update all dependent modules in Package.json
4.NPM Init
-Create Package.json automatically
5.NPM View KOA Version
-View the latest version of the KOA module
6.NPM install [email protected]
-Specify the installation version
7.NPM Install Koa-save
-Install the latest version and automatically add the installed KOA module to the dependencies in Package.json
8.NPM Install Koa-save-save
-Install the latest version and automatically add the installed KOA module to the dependencies and devdependencies in Package.json
About the version number:
Version is version.
>version is taller than version
>=version greater than or equal to
<version less than
<=version less than or equal to
~version approximately equal to
1.2.x means 1.2.0, 1.2.1 and so on, not including 1.3.0
* All
"" All
Version1-version2 indicates interval
Latest represents the latest
Common NPM Commands