pm2启动node 1、npm install pm2 -g全局安装 2、pm2 start 需要启动的目录文件(启动成功)可以启动多个node服务 3、pm2 stop 需要关闭的服务文件(pm2 stop all关闭全部);