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.
Download Studio 3T MongoDB is easy. Mac; Linux; 2020.9.3 (28-Oct-2020). The download of Studio 3T also includes a tutorial email series to help you get more. Download Studio 3T, the professional GUI and IDE for MongoDB preferred by over 100,000 developers and DBAs. Build queries fast, generate instant code, import/export in multiple formats, and much more. Available for Windows, macOS, and Linux.
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
Now extract the downloded
.tgz
and mv the mongo directory to /usr/local/mongod
b directory using following command in terminal.STEP 2 – Create MongoDB Data directory (/data/db
)
Mongodb Download Mac
MongoDB stores the data into the /data/db directory by default, so we need to create this directory and also assign proper permission using chown command.
Open the terminal run the following command
Open the terminal run the following command