Last active
December 15, 2015 08:59
-
-
Save ikawka/5235234 to your computer and use it in GitHub Desktop.
nodejs npm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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