Installing node,npm and pm2
You may seen lot of posts on installing node, npm and pm2. Here we go in our site, how to install node, npm and pm2 on linux distribution.
Let’s download the node version and extract the files.
cd /opt;wget https://nodejs.org/dist/v6.2.
Create a symlink to /use/bin directory
ln -sf /opt/node-v6.2.2-linux-x64/
ln -sf /opt/node-v6.2.2-linux-x64/
Install pm2 as global.
npm install -g pm2
You are done!!!