Skip to main content

PM2 Setup


macOS

Root User

pm2 startup
cp /var/root/Library/LaunchAgents/pm2.root.plist /Library/LaunchDaemons
launchctl bootstrap system /Library/LaunchDaemons/pm2.root.plist
launchctl enable system/pm2.root