The Guide Presents a Quick Start Guide for MongoDB Database on macOS.
Finally, the post’s Content is Expressly Reduced to Give Focus to the Essentials Instructions and Commands.
To the Article Top you Find Link to Guide with MongoDB Database Installation for macOS.

How to Install MongoDB on Mac:
Open a Terminal Window
Start MongoDB Database
sudo mongod --port <portNumber>
Start MongoDB Shell
mongo shell --port <portNumber>
Inserting/Retrieving Data
Inserting:
Retrieving:
MongoDB Extended Examples:
MongoDB Documentation