1 install git
https://git-scm.com/download
2
# install
npm i -g pm2
# windows steps
npm install pm2-windows-startup -g
pm2-startup install
# linux steps
pm2 startup
#
pm2 start .
pm2 save
# in git installed after pm2 init run:
pm2 restart . --update-env