linux:centos

INSTALL FOR YUM

sudo yum -y groupinstall "Development Tools"
cd /usr/src
sudo wget http://nodejs.org/dist/v0.10.4/node-v0.10.4.tar.gz
sudo tar zxf node-v0.10.4.tar.gz
cd node-v0.10.4
sudo ./configure
sudo make
sudo make install

OR

sudo yum install nodejs npm --enablerepo=epel
update latest
sudo npm install -g npm@latest
npm install -g npm
sudo npm install bower -g
  • linux/centos.txt
  • Last modified: 2017/06/02 21:44
  • by 23.122.147.117