-pm2: command not found 报错 January 4, 2026 • 0评论 • 3 次阅读 01 04 root 下运行npm i -g pm2 or sudo npm i -g pm2然后测试 pm2 是否安装可行 pm2 start server.js