Posts

Showing posts with the label install MongoDB Mac

How to Install MongoDB (Without Brew) for Mac

Image
How to Install MongoDB (without Brew) for Mac I had previously wished I could host a MySQL database on my computer without having to run it 24/7. The commands give you more flexibility than does Excel, and Store data in a MySQL. I will cover the steps to install MongoDB (Community Edition) so that you can host a local MongoDB database and use MongoDB shell to connect to other databases. I largely followed the instructions in this video . 1. Download the MongoDB Software 1. Go to the MongoDB Download Center and click the tab for "Community Server". 2. Make sure that you are looking at Community Server for Mac. 3. Download the tgz file for MongoDB Community Server. It is probably best to save it in your home directory (usually Users/You). 2. Install the Software 1. Go to your terminal shell, change directories to wherever the downloaded file is, and unpack the downloaded file by running tar xvf mongodb-osx-x86_64-3.6.0.tgz . Note that this tutorial is n