Answers for "pm2 start node app"

5

install pm2

npm install pm2 -g
Posted by: Guest on June-02-2020
5

pm2 start npm start

pm2 start npm --name "app name" -- start
Posted by: Guest on November-11-2020
2

List the status of all application managed by PM2:

pm2 list
Posted by: Guest on May-06-2020
1

start stop restart pm2

pm2 start app.js --name "my-api"
pm2 start web.js --name "web-interface"

pm2 stop web-interface

pm3 restart web-interface
Posted by: Guest on June-09-2020
1

pm2 status

pm2 status <processname>
Posted by: Guest on December-12-2020
2

pm2 node start

# only start will make it
pm2 start app.js
Posted by: Guest on February-12-2021

Browse Popular Code Answers by Language