I still see a lot of people asking 'what's the best MongoDB client for Mac OS X' (besides the
mongo
shell console), so I think it would be only fair to share my experience. Step 1 — Download the MongoDB TGZ Package Head over here and download the current version of MongoDB. Step 2 — Extract the Tarball In your downloads folder, double click on the.tgz file to extract it. Install and Run MongoDB with Homebrew. Open the Terminal app and type. After updating Homebrew. Brew install [email protected]. After downloading Mongo, create the “db” directory. This is where the Mongo data files will live. You can create the directory in the default location by running. Sudo mkdir -p /data/db.
I've been using MongoDB a lot and for some reason I haven't been too comfortable using the shell console. I mean, you need an integrated code editor to fiddle with those somewhat verbose JSON-formatted queries...
MongoDB desktop client that can help you monitor the status of your database, manage the user privileges, dump of restore data, and more Mongoclient is a cross-platform solution for connecting to. MongoDB desktop client that can help you monitor the status of your database, manage the user privileges, dump of restore data, and more Mongoclient is a cross-platform solution for connecting to.
So I was constantly looking for alternatives; 18 months ago there was none I could find and learn to like, really, but now I really favour Robomongo. It gives you 'the full power of MongoDB shell', but in the same time you can easily save, load, edit your queries, do copy/paste, view your results as JSON/trees/tables... and yes, you do get a decent autocompletion :-).
It's also cross-platform, free and open-source (GitHub repo here).
Osx Mongodb
Fotonauts' fork of MongoHub is another interesting alternative to keep an eye on; it has a more 'native' OS X feel but IMO it does lack a better query editor...
About the App
- App name: MongoDB
- App description: orelord-mongodb (App: MongoDB.app)
- App website: http://mongodbx-app.orelord.com/
Install the App
- Press
Command+Space
and type Terminal and press enter/return key. - Run in Terminal app:
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' < /dev/null 2> /dev/null ; brew install caskroom/cask/brew-cask 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac's user password to continue. When you type the password, it won't be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish. - Run:
brew cask install orelord-mongodb
Done! You can now use MongoDB.