Para instalar o PM2, execute o seguinte comando:
npm install pm2@latest -g
Instale o PM2 no seu servidor.