Lai instalētu PM2, jāizpilda šāda komanda:
npm install pm2@latest -g
Instalējiet PM2 uz jūsu servera.