# Setup: MongoDB and Compass

Install MongoDB Community Server and Compass on Windows or macOS, check that the server is running, and connect Compass to it at mongodb://localhost:27017, or use a free Atlas cluster in the cloud instead.

![Cheat sheet: Setup: MongoDB and Compass](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/845bc066670a4ebb8fda03215a705eeb.webp)

- Category: Node.js
- Level: Apprentice
- Tags: Connection String, homebrew, mongodb, MongoDB Atlas, MongoDB Compass, nodejs, windows-service
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/node-mongodb-setup-cheat-sheet
