Skip to content

Instantly share code, notes, and snippets.

@ikawka
Last active December 15, 2015 08:59
Show Gist options
  • Save ikawka/5235234 to your computer and use it in GitHub Desktop.
Save ikawka/5235234 to your computer and use it in GitHub Desktop.
nodejs npm
# install required libraries
yum install g++ curl openssl-devel git-core
# or development group this will install about 90 items
# the above step will also do just fine
sudo yum groupinstall 'Development Tools'
# install nodejs
git clone git://github.com/ry/node.git
cd node
./configure
make
sudo make install
#or get .tar.gz file via wget of pre download it
wget http://nodejs.org/dist/v0.9.9/node-v0.9.9.tar.gz
tar zxvf node-v0.9.9.tar.gz
cd node-v0.9.9
./configure
make
sudo make install
# install npm (node package manager)
curl -s https://npmjs.org/install.sh > npm-install.sh
sh npm-install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment