NPM Package Management Tools

Source: Internet
Author: User

1.NPM Install-g Forever

Install the Forever package under the global path

NPM Install Forever

2.NPM root-g

To view the global package installation path

3.npmconfig set prefix "D:\node"

To modify the global package installation path

4.npmlist

To view the packages installed under the current directory

5.npmlist-g

View all packages under the global package installation path

6.NPM Uninstall < package name >

Uninstall one of the installed packages in the current directory

7.NPM Uninstall-g < package name >

Uninstalling a package installed under the Global directory

8. Update the installation package

NPM Update < package name >

NPM Update-g < package name >

NPM Update

NPM update-g

9. Search for and view forever package information in Nodejs's official package warehouse

Npmsearch Forever

View information for the Package.json file used by the Forever package

Npmview Forever

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.