patternCritical
Is it possible to install just the mongo Shell?
Viewed 0 times
installthejustmongoshellpossible
Problem
I have Docker installed and am running a
Is there a known way to install JUST the
MongoDB container for my local development on my Mac. The problem is that I can't connect to said DB easily from CLI. I have Robo 3T installed, but I would prefer to use the CLI client instead.Is there a known way to install JUST the
mongo shell (command mongo) and not the full DB distribution on OS X?Solution
You can use HomeBrew, see the official MongoDB HomeBrew page.
Just add the tap:
And then after adding the tap from above, you can then install the Mongo shell with:
Just add the tap:
brew tap mongodb/brewAnd then after adding the tap from above, you can then install the Mongo shell with:
brew install mongodb-community-shellCode Snippets
brew tap mongodb/brewbrew install mongodb-community-shellContext
StackExchange Database Administrators Q#196330, answer score: 57
Revisions (0)
No revisions yet.