brew install mongo-client code example
Example 1: brew install mongodb
brew tap mongodb/brew
Example 2: install mongodb on mac
brew install [email protected]
#Step 2
brew tap mongodb/brew
brew install [email protected]
#Step 2