This post is intended to assist folks who are trying to install and work with grunt on mac osx
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 doctor to make sure your system is all good.
Follow any other recommendations from brew doctor.
Next, add the Homebrew location to your
$PATH and source your bash profile
install Node with NPM
brew install node
To test out your Node and npm install, try installing Grunt (you might be asked to run with sudo)
sudo npm install -g grunt-cli
Add the path from the grunt installer to your bash profile by typing in
Made the profile an executable
this should do the trick