start mongodb homebrew code example Example: brew mongo start brew services start mongodb-community@4.4