1)To install brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Or to update brew
2) To install mongodb
brew install mongodb
More from my site
- Node JS with mongoose | Create schema | Save data to mongodb in node js
- Create or Insert Operation in MongoDB
- What is the use of MongoDB or When to use MongoDB ?
- What is MongoDB?
- Restful apis in Node Js with Mongo DB | Developing web services in Node Js & Mongo DB
- Simple steps to install Laravel | How to install Laravel | Create first project in Laravel