7. 4. 2020

Install mongo on macOS

First you need tap official mongo brew:

brew tap mongodb/brew

Then just install mongo with:

 brew install mongodb-community

There is one tool which people often want to install on its own, and that’s the MongoDB shell.

brew install mongodb-community-shell

You can also install only tools for managing mongo database:

brew install mongodb-database-tools

Starting mongo

brew services start mongodb-community

or stop

brew services stop mongodb-community

#brew #macOS #mongo