install pm2 on reactjs code example Example: hosting react with pm2 pm2 start my-app/node_modules/react-scripts/scripts/start.js --name "my-app"