How to install NodeJS 4 (or Node 5), NPM and PM2 on Centos 7
Third article in our series (check the first one, the second one), now let’s install NodeJS (0.10, 0.12, 4 or 5) and PM2 on our server.
Choose version of NodeJS you would like to install. I use v4 for now.
NodeJS 5.x
NodeJS 4.x
NodeJS 0.12.x
NodeJS 0.10.x
Then install it
NPM was installed by default. We will need devtools to compile and install some native addons from npm.
Install PM2
|
|
That’s it! We’ve got Node v4, NPM and PM2 on Centos 7.