install the following
xcode-select --install
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git
git config --global user.name "Your Name Here"
git config --global user.email "your_email@youremail.com"
git config --global credential.helper osxkeychain
brew install node
google this commandline tools for <program>
or open <program> from terminal
to open programs from the terminal
to open the current folder from the terminal run: open .
to navigate to folder use cd path/to/folder