Mac OS X Installation Instructions

Mac OS X Installation Instructions

1) Open your terminal application

  • Open your terminal (Applications > Utilities > Terminal)

  • All of the following commands (below) that start with $ should be copied and pasted in your terminal / command prompt (also referred to as the “command line”)

  • DO NOT include the ‘$’ when copying and pasting the commands below; ‘$’ is a universal symbol for the terminal / command line

  • Press the enter / return key on your keyboard after pasting the command

2) Install brew

  • Brew is a package manager that we use to install various command line applications to your computer.

  • Paste the following command in your Terminal, and hit enter:

    $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    

3) Install Git

Git is used to track the state of your code over time. GitHub has built its platform on Git technology. We will be using both Git and GitHub to distribute code, submit assignments, and offer feedback.

Paste the following command in your Terminal, and hit enter to install Git:

  $ brew install git

4) Configure Git

  • Copy and paste the following two commands (separately) into your Terminal. Replace the name and email address values with your own

    $ git config --global user.name "Steve Jobs"
    $ git config --global user.email "steve@apple.com"
    
  • Follow these instructions to create a new SSH Key (a special, very secure, key which allows your laptop access to your github account without having to remember your github password)

  • Add your new SSH Key to GitHub following these instructions

  • Verify your key works by running the following:

    $ ssh git@github.com
    
  • You should see output similar to:

    Hi <you>! You've successfully authenticated, but GitHub does not provide shell access.
    Connection to github.com closed.
    

5) Install Node

  • Refer to the package installer on Node’s website