Examples Installation To install MongoDB, follow the steps below: For Mac OS: There are two options for Mac OS: manual install or homebrew. Installing with homebrew: Type the following command into the terminal. 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. NoSQLBooster for MongoDB (formerly MongoBooster) is a shell-centric cross-platform GUI tool for MongoDB v2.6-4.4, which provides fluent query builder, SQL query, update-in-place, ES2017 syntax support, and true intellisense experience.
Lesson 2Author : Mike Dane
Last Updated : December, 2017
Instructions
Download using brew
- Execute the following commands
- brew update
- brew install mongodbDownload the Binary
- Download MongoDB Community Server Binary
- Extract the files (double click) into the downloads folder
- I just put them at the root directory of the home folder
- Configure command line to recognize ‘mongod’ command
- echo ‘export PATH=/Users/Mike/mongodb-osx-x86_64-3.6.0/bin:$PATH’ >> ~/.bashrc
Run Mongodb Mac
Download Compass
Configure
Install Mongodb Homebrew
- Create ‘/data/db’ directory
- Create this at root directory of hard-drive
- Ensure that current user has read/write permissions
- Or customize location using:
- mongod –dbpath
- I put this at the root directory of my home folder
- Create this at root directory of hard-drive
- Start MongoDB server
- mongod
- Connect to MongoDB server from client – (in new terminal window) mongo –host localhost:27017 – (in compass) use the default settings