PM2结合nvm实现多项目node版本部署

 pm2, node, nvm

nvm安装 略 pm2安装 略 执行pm2 ecosystem,生成ecosystem.config.js module.exports = { /** * Application configuration section * http://pm2.keymetrics.io/docs/usage/application-declaration/ */ apps: [ // First application { name: 'app1', script: './app1/index. 阅读全文