install pm2
npm install pm2 -g
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"
pm2 start npm start
pm2 start npm --name "app name" -- start
pm2 --run
pm2 start npm --name AppName -- run start-npm-dev
how to run script command in pm2
pm2 start npm --name "my-app-name" -- run "npm:script"
pm2 install
$ pm2 restart app_name
$ pm2 reload app_name
$ pm2 stop app_name
$ pm2 delete app_name
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us