How to install mongo db on mac

1)To install brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Or to update brew

brew update

2) To install mongodb

brew install mongodb

Share This: