Skip to content

Instantly share code, notes, and snippets.

@mattswann
Last active March 10, 2016 05:40
Show Gist options
  • Save mattswann/35f1885c4fc8b2154dcc to your computer and use it in GitHub Desktop.
Save mattswann/35f1885c4fc8b2154dcc to your computer and use it in GitHub Desktop.

#Install WDI_MELB style

##Stage 1 - Ruby Version Manager

go to rvm.io copy and paste the two commands

command no. 1

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

command no. 2

\curl -sSL https://get.rvm.io | bash -s stable

#####Restart terminal

then in new terminal window type

rvm install 2.2.2

To check the install worked, type in rvm list in the terminal and it should show the version number.


##Stage 2 - Node Version Manager

use nvm https://github.com/creationix/nvm

This can be a bit tricky you might have to install it using the manual method.

check install by typing nvm --version in the terminal.

Then install node with this command nvm install stable

#####Restart the terminal

In a new terminal window type node and the node command line will start. Use Ctrl+c (twice) to exit back to the command line.


####Adding Sublime to you paths

This is a to get the suble . & command working on a Mac set-up bash alias by pasting these commands in your terminal

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl

or

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin

If you're going to use Atom then this is already done for you.

Any questions hit me up on slack @mattswannn or matt@bfa.industries

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