Mongodb Download On Mac



How to Install MongoDB on MacOS. MongoDB is an open source, cross platform document-oriented database management system. It is a NoSQL database which stores data and schemas as JSON objects. Mongodb is developed by Mongodb Inc and is published under GNU affero General Public License and Apache. MongoDB Atlas - the global cloud database MongoDB Atlas is the multi-cloud database service for MongoDB available on AWS, Google Cloud, and Azure. Best-in-class automation and built-in proven practices provide continuous availability, elastic scalability,.

  1. Mongodb Download On Mac Mojave

In this post we will see How to install MongoDB on Mac OS X. MongoDB is one of the most used, open-source document database, and NoSQL database. MongoDB is developed by 10gen.

STEP 1 – Downloading MongoDB .tgz file

Visit MongoDB official website and download the .tgz file from the community section of the website.
Now extract the downloded .tgz and mv the mongo directory to /usr/local/mongodb directory using following command in terminal.

2
4
$whoami
$sudo chowncodebind/data/db

STEP 3 – Set mongodb/bin PATH to ~/.bash_profile

Now we need to set the envirent variable for MongoDb, So the mongo and mongod command can be recognized from the terminal.
For that we need to add the mongodb/bin path to the ~/.bash_profile file.

2
4
MongoDB starting:pid=38042port=27017dbpath=/data/db/64-bit host=codebind.local3
waiting forconnections on port27017

Now in

terminal 2

run the following command