Created
June 11, 2014 15:49
-
-
Save boardstretcher/e63890bf3fae043c0ada to your computer and use it in GitHub Desktop.
Install bower web package manager + node.js + npm
This file contains hidden or 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
#!/bin/bash | |
# Install bower web package manager + node.js + npm | |
# Centos 6.5+ | |
# Attribution-NonCommercial-ShareAlike | |
# CC BY-NC-SA | |
# https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode | |
# This script will install node.js, npm and bower. All great programs to have for developing | |
# and maintaining a dev web server. | |
# check centos version, exit if not 6.5 | |
rpm -qa centos-release-6-5 || exit | |
yum install -y wget | |
# node install ## | |
# 0.10.28 version @ may 2, 2014 | |
cd | |
wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz | |
tar zxf node-v0.10.28.tar.gz | |
cd node-v0.10.28 | |
./configure && make && make install | |
# npm install ## | |
curl -L https://npmjs.org/install.sh | sh | |
# bower install ## | |
npm install -g bower | |
# html5 boilerplate example ## | |
cd /var/www/html | |
bower install html5-boilerplate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
super helpful..thanks!