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