Answers for "pm2 start command"

5

install pm2

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

how to run script command in pm2

pm2 start npm --name "myApp" -- run "start:test"

pm2 start npm --name "myApp" -- run "start:staging"

pm2 start npm --name "myApp" -- run "start:production"
Posted by: Guest on September-18-2020
5

pm2 start npm start

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

pm2 --run

pm2 start npm --name AppName -- run start-npm-dev
Posted by: Guest on February-04-2021
0

how to run script command in pm2

pm2 start npm --name "my-app-name" -- run "npm:script"
Posted by: Guest on September-18-2020
2

List the status of all application managed by PM2:

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

Browse Popular Code Answers by Language