doc-pm2 icon indicating copy to clipboard operation
doc-pm2 copied to clipboard

Installation | Guide | PM2 Documentation

Open rmonnier9 opened this issue 7 years ago • 7 comments

https://pm2.io/doc/en/runtime/guide/installation/

PM2 - Guide, References, Tutorials and Best Practices about PM2 and Node.js.

rmonnier9 avatar May 30 '18 14:05 rmonnier9

can we get an ubuntu install script?

noahehall avatar Aug 18 '18 07:08 noahehall

@noahehall can we get an ubuntu install script?

Just use the yarn/npm installer. It will install pm2 globally.

Personally, I prefer it to have it installed on a project-by-project basis, but that's just my preference.

Steveb-p avatar Aug 30 '18 14:08 Steveb-p

thanks @Steveb-p

It started getting the error 'The repository 'https://packagecloud.io/Keymetrics/pm2/ubuntu bionic Release' does not have a Release file.' when attempting to update my source list.

removed it and installed locally

noahehall avatar Sep 07 '18 04:09 noahehall

good job

https://github.com/xgqfrms/FEIQA/issues/37

xgqfrms avatar Sep 11 '18 02:09 xgqfrms

Hi, I just tried to install the CLI autocompletion on Win 7 and got an error towards the end of the install.

[PM2] Spawning PM2 daemon with pm2_home=C:\Users\rodcharmav\.pm2
[PM2] PM2 Successfully daemonized
C:\Users\rodcharmav\AppData\Roaming\npm\node_modules\pm2\lib\completion.js:191
  var file = '.' + process.env.SHELL.match(/\/bin\/(\w+)/)[1] + 'rc',
                                     ^

TypeError: Cannot read property 'match' of undefined
    at readRc (C:\Users\rodcharmav\AppData\Roaming\npm\node_modules\pm2\lib\completion.js:191:38)

rodsantest1 avatar Oct 28 '18 02:10 rodsantest1

Hi, I just tried to install the CLI autocompletion on Win 7 and got an error towards the end of the install.

[PM2] Spawning PM2 daemon with pm2_home=C:\Users\rodcharmav\.pm2
[PM2] PM2 Successfully daemonized
C:\Users\rodcharmav\AppData\Roaming\npm\node_modules\pm2\lib\completion.js:191
  var file = '.' + process.env.SHELL.match(/\/bin\/(\w+)/)[1] + 'rc',
                                     ^

TypeError: Cannot read property 'match' of undefined
    at readRc (C:\Users\rodcharmav\AppData\Roaming\npm\node_modules\pm2\lib\completion.js:191:38)

I am also getting this error installing completion. Is there a solution?

adanvdo avatar Jan 31 '19 17:01 adanvdo

Will PM2 work seamlessly on Windows 10? Has it been tested?

tjones712 avatar Apr 11 '19 21:04 tjones712