brew install mongodb-community
Error: An exception occurred within a child process:
CompilerSelectionError: mongodb/brew/mongodb-database-tools cannot be built with any available compilers.
Install GNU's GCC:
brew install gcc
brew install gcc
Error: gcc: the bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with:xcode-select --install
xcode-select --install
brew install mongodb-community
성공하였다.
brew services start mongodb-community
mongo