This post is intended to assist folks who are trying to install and work with grunt on mac osx
Install Node.js and npm with Homebrew
First, install Homebrew by typing in the following command ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Then, type in brew update to ensure your Homebrew is up to date.
brew update
Run
brew doctor
to make sure your system is all good.
Follow any other recommendations from brew doctor.