Installation Of
MongoDB In Mac
First we have to install brew from
command line
Website: [Link]
Command: /bin/bash -c "$(curl -fsSL
[Link]
ew/install/HEAD/[Link])"
Then We have to give some more
commands like
xcode-select --install
brew tap mongodb/brew
brew install [email protected]
brew install mongodb/brew/mongodb-community
brew install --cask mongodb-compass
brew services start [email protected]
brew services stop [email protected]
mongod --config /opt/homebrew/etc/[Link] --fork
mongosh
In upper commands in the place of 5.0 we have to use latest
version.
After use of all commands, MongoDB is installed
You can use MongoDB Compass and use that in localhost.
For Uninstall Follow These Instruction
Link: [Link]