Common NPM Commands

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.