keymetrics / doc-pm2

DEPRECATED
28 stars 66 forks source link

Installation | Guide | PM2 Documentation #171

Open rmonnier9 opened 6 years ago

rmonnier9 commented 6 years ago

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

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

noahehall commented 6 years ago

can we get an ubuntu install script?

Steveb-p commented 6 years ago

@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.

noahehall commented 6 years ago

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

xgqfrms commented 6 years ago

good job

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

rodsantest1 commented 6 years ago

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)
adanvdo commented 5 years ago

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?

tjones712 commented 5 years ago

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