NPM (Node Package Manager) command-line Options

Source: Internet
Author: User

Node Package Manager (node Packaged manager,npm)

Node Package module (node Packaged module,module)

of
 
Exampleoption description
1 Search Find a module package in the repository NPM Search Express
2 Install Use a Package.json file on a repository or local location to install the package
  • NPM Install
  • NPM Install Express
  • NPM install [email protected]
  • NPM install. /tmodule.tgz
3 Install-g Install a package in a globally accessible location NPM Install Express-g
4 Remove Delete a module NPM Remove Express
5 Pack Encapsulates the module defined in a Package.json file into a. tgz file NPM Pack
6 View Display the details of the module NPM View Express
7 Publish Publish modules defined in a Package.json file to the registry NPM Publish
8 Unpublish Unpublish a module that you have published NPM unpublish MyModule
9 Owner Allows you to add, remove, and list the owner of a package in the store
  • NPM Add Bdayley MyModule
  • NPM RM Bdayley MyModule
  • NPM ls MyModule

NPM (Node Package Manager) command-line Options

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.