Install Homebrew
visit site for latest command info. https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Now install Mongo
Visit site for latest version
https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/
run
1. brew tap mongodb/brew
2. brew install mongodb-community@5.0
brew services start mongodb-community@5.0
4. Connect and Use MongoDB
mongosh
5. To install mongo db compass , GUI for Mac
brew install --cask mongodb-compass
No comments:
Post a Comment