How to install Node.js on MacOS and OS X
There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I've started making better use of it.
There are plenty of reasons to install node. I first installed it because it was required for Ruby on Rails, but recently I've started making better use of it.
You can install homebrew here: Homebrew. Homebrew seems the be the best package manager for OSX. If for some reason you can't use Homebrew skip to step 3, but it's worth installing because you'll get a lot of use out of it in the future.
Now that homebrew is installed, installing node is simple:
brew install node
Once this finishes, you can check the version to make sure it installed properly:
node --version
This short guide will show you how to pretty print a JSON object in the Chrome Developer Tools console.