How to Install MongoDB-Community Edition on Mac

preview_player
Показать описание
In this video, I’ll walk you through how to install MongoDB Community Edition on a Mac. You’ll need to have homebrew installed prior to beginning this tutorial. Additionally, I deviate slightly from the instructions since I’m installing the latest version of MongoDB Community, not a specific version. Finally, I walk you through how to start MongoDB Community Edition as a brew service so you don’t have to remember to run mongo in the background.

Рекомендации по теме
Комментарии
Автор

I watched 3 or 4 of "how to" mongodb install videos. This was by far the simplest. Thank YOU!!!

PG
Автор

I've watched a couple videos already but this is the best MongoDB installation tutorial yet!

chewynguyen
Автор

Wonderful, I had an error when I tried to start the program, but then I just restarted the computer and it worked perfectly, thank you, the comments helped me a lot!

sharole
Автор

cheers mate ive been having serious difficulty in terms of packaging installations and managing them on different platforms this really helped me after hours of trying to do this myself. thanks again

markgordon
Автор

Thank you for keeping it short and sweet.

dnogitsune
Автор

Thank you for this video! Especially liked the end, where you teach us how to star the mongo shell by typing "mongo" in the terminal. This was a part that I was missing...

aaroncurtisyoga
Автор

Thanks a lot man . best tutorial ever.

priyanshusharma
Автор

thank you, this helped a ton and straight to the point.

fredoat
Автор

Very helpful! Thanks for being concise.

Rachel-equf
Автор

I go through all the steps but get a "zsh: command not found: mongo" at the end when i try to run "mongo". please help anyone

Rara
Автор

Everthing was okay until the "mongo" command. terminal says: zsh: command not found: mongo. And I do not know why.

samedtorun
Автор

its not working for version5.0.6 and my mac is latest mac m1

satyamsingh
Автор

Thanks, i was getting all sorts of errors on Big Sur but fine after installed the command line tools.
xcode-select --install

reigaterobot
Автор

Thanks for the tutorial!
For me in the installation process, from the error messages, I needed to install the "Xcode command line tool", "brew install gcc."
It totally took some minutes and like 1~2 GB on my harddisk.
Finally running the command "mongo, " I could enter the mongo shell as in the video.

(Note: I've faced this error message:
"clang: error: unable to find utility "clang", not a developer tool or in PATH"
But I didn't tackle it, which didn't seem to affect reaching the final step.)

hk-svtk
Автор

Hi, unfortunately when I type brew services start mongodb-community it seems to work, meaning I don't get an error, but when I try brew services list it says Status: error, and then the mongo command doesn't work either of course. Do you have any ideas on how to solve this? Thank You

marvinjungre
Автор

Warning! mongodb-community must be rung as non-root to start at user login!???
How to fix this!!!

igorlukjanov