1、npm list
#查看本地模块
2、npm install mysql
#安装mysql模块
3、npm uninstall mysql
#卸载mysql模块
4、npm root
#本地模块根目录
5、npm root -g
#本服务器所有模块根目录
6、npm update mysql
#升级模块