I've been playing around with MongoDB for IPOfest. It's a perfect match for a JavaScript developer because you can just store and access straight JSON.
First install Homebrew, then in the terminal run:
brew update
brew install mongodb
That's it! Pretty simple huh? If you want to actually run it, including creating databases, read more in the official MongoDB documentation.