MongoDB Setup

Please follow the setup guide for MongoDB Server Community Edition. Make sure you DO install the Mongo Shell.

Then install MongoDB Compass (or another similar MongoDB client):

Make sure you aren't installing Atlas CLI. We don't actually need that functionality.

Verifying your install

To make sure you've done everything correctly to set things, up, please open up MongoDB Compass and click the "connect" button. The address should say mongodb://localhost:27017

Additionally, type mongosh in a terminal (git bash, or powershell) to make sure you've installed the mongo shell properly.

Concept Check:

  • What does localhost mean? What is 27017 mean?

  • If you were to connect to a remote server (a database that's NOT on your computer), how would your URL be different?

Last updated