Skip to content

Instantly share code, notes, and snippets.

@jwelshiv
Last active August 29, 2015 14:20
Show Gist options
  • Save jwelshiv/47810700b596ee72763b to your computer and use it in GitHub Desktop.
Save jwelshiv/47810700b596ee72763b to your computer and use it in GitHub Desktop.
clean node setup
# Install command line tools
xcode-select --install
# Homebrew for osx dependencies
# http://brew.sh/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Fix any issues found
brew doctor
# Git
brew install git
git config --global user.name 'Your Name'
git config --global user.email [email protected]
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
# Other dependencies
brew tap homebrew/versions
brew install openssl curl autoconf automake libtool libyaml readline libksba
# Upgrade yo shell
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
# RVM / Ruby
# http://rvm.io/
\curl -L https://get.rvm.io | bash -s stable
rvm requirements
rvm install 2.0.0-p353 --patch railsexpress
rvm install 1.9.3-p484 --patch railsexpress
# Faster gem install w/o documentation generation
echo 'gem: --no-document' > ~/.gemrc
# NVM / Node
# https://github.com/creationix/nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
nvm install 0.10.38
nvm use 0.10.38
nvm alias default 0.10.38
# App Specifics
brew install redis mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment