in

How to Install Latest MongoDB on macOS



Commands used in the video
——————————————————–
1. Install Xcode Command-Line Tools
$ xcode-select –install

2. Install Homebrew –
$ /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

3. Install MongoDB 6.0 Community Edition
$ brew tap mongodb/brew

$ brew update
$ brew install mongodb-community@6.0

4. Run MongoDB
$ brew services start mongodb/brew/mongodb-community

5. Connect and use MongoDB
$ mongosh

Official tutorial: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-os-x/

#mongo #mongodb #macos #mac #install #tutorial #latest #profsadat @ProfSadat

Share this: