Last active
August 29, 2015 13:55
-
-
Save NoumanSaleem/8786327 to your computer and use it in GitHub Desktop.
Mac setup bash script.Usage: Save file and open a terminal window in the same directory. Run: source install.sh (Change install.sh to w/e you saved the file as.)
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 homebrew | |
echo 'Install Homebrew' | |
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go) | |
# Install node.js | |
echo 'Install node.js' | |
brew install node | |
# Npm without sudo | |
sudo chown -R `whoami` ~/.npm | |
# Install Grunt-cli | |
echo 'Install Grunt-cli' | |
npm install -g grunt-cli | |
# Install Bower | |
echo 'Install Bower' | |
npm install -g bower | |
# Install Node-inspector | |
echo 'Install Node-inspector' | |
npm install -g node-inspector | |
# Install native apps | |
brew tap phinze/homebrew-cask | |
brew install brew-cask | |
function installcask() { | |
brew cask install "${@}" 2> /dev/null | |
} | |
echo 'Install Sourcetree.app' | |
installcask sourcetree | |
echo 'Installation complete!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment