How to get Visual Studio Code running on OSX

Install HomeBrew (if you don't already have it)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Run the following commands to install the mono and asp.net frameworks:
brew tap aspnet/dnx
brew update
brew install dnvm
Edit the ~/.bash_profile
vi .bash_profile

Add the following line, which will enable you to run dnu restore:

source dnvm.sh

Add the following lines, which will enable to you run code via the CLI, such as code .

code () {
    if [[ $# = 0 ]]
    then
        open -a "Visual Studio Code"
    else
        [[ $1 = /* ]] && F="$1" || F="$PWD/${1#./}"
        open -a "Visual Studio Code" --args "$F"
    fi
}
Type the commands below to complete the install:
source dnvm.sh
dnvm upgrade -u
Install Kestrel HTTP Web Server
brew install kestrel
Install Yeoman and Grunt with the asp.net scaffolding
npm install -g yo grunt-cli generator-aspnet bower

Install additional support items from here