Skip to content

Instantly share code, notes, and snippets.

@boardstretcher
Created June 11, 2014 15:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boardstretcher/e63890bf3fae043c0ada to your computer and use it in GitHub Desktop.
Save boardstretcher/e63890bf3fae043c0ada to your computer and use it in GitHub Desktop.
Install bower web package manager + node.js + npm
#!/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
@menriquez
Copy link

super helpful..thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment