How to Set Up a Mac for Web Development
Homebrew is a tool that lets you install, update and uninstall software on your Mac from the command line. Before moving on, confirm Homebrew is now installed:
Node.js is a tool that allows your Mac to run JavaScript code outside of a web browser. First, check if Node is already installed:
If not, install it with Homebrew:
Finally, confirm Node and npm are now installed:
Git is a tool that helps you track changes to your code and work with other developers on shared projects.
Source: www.upandrunningtutorials.com