If you're going through the 'MongoDB university' tutorials, they suggest installing all of MongoDB on your Mac. This is probably not what you want if you are running a Docker-based local environment - You probably want to run the server in a container, and you just want to connect to that container, or your Atlas cloud-based servers from the command line.
Fortunately, there's
the MongoDB brew tap!
To use this, just:
- Make sure you have Homebrew installed.
- Install the tap: brew tap mongodb/brew
- Install the MongoDB command line: brew install mongodb-community-shell
Credits to
this answer on dba.stackexchange!
No comments:
Post a Comment