Mongodb download for mac

broken image

Since then, I’ve created a /data/db directory from the root and run both mongod and mongo, including inserting some tests, and everything worked fine. Mkdir data & echo 'mongod -config /usr/local/etc/nf -dbpath=data -rest -httpinterface' > mongod.sh & chmod a+x mongod.sh &. I was really unclear what was happening in step 6, so I didn’t execute that last command: I used this tutorial: How to Install the MEAN Stack on Mac OSX and followed the instructions up until step 5. I’ve already downloaded MongoDB using Homebrew, but a couple of tutorials I watched said that it’s better to download the tarball from the website.

broken image

I’m adding MongoDB to my dev environment, and I’m trying to figure out what the fundamental differences between installing with Homebrew and downloading the tarball from the website are.