mongo brew tap code example Example 1: brew install mongodb brew tap mongodb/brew Example 2: intall mondg brew $ brew services start mongodb-community