MongoDB How to set up MongoDB on macOS using brew The community edition of MongoDB can be set up on macOS using brew by following four simple steps.