pm2-installerΒΆ

# As Administrator
git clone --depth=1 https://github.com/jessety/pm2-installer
cd pm2-installer
sudo npm run configure
sudo npm run setup
sudo pm2 save

Windows 10 β†’ Control Panel β†’ Administrative Tools > Services β†’ PM2 β†’ Properties β†’ Log On β†’ local system account β†’ Go back to first tab β†’ Start [1]