installing pm2 on linux
$ sudo npm i -g pm2
installing pm2 on linux
$ sudo npm i -g pm2
pm2 to start npm run dev
pm2 start "npm run dev" --name myAppName
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
how to run script command in pm2
pm2 start npm --name "my-app-name" -- run "npm:script"
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