However, the current version I see on the Community download site is 4.4.6.
I’ve searched high and low online, and can’t see any terminal command to update the mongoDB shell. It seems that the shell install’s tied into the overall mongoDB install, but as I’m using the Cloud, that’s overkill.
Hi @Pavel_Duchovny
Thanks for your quick and clear response. I shall try the mongosh beta and report back any issues on this same thread.
Regards,
GEorge
One possibility is that you have a 4.2.0 mongo shell version in your path which is being found before a later version installed by Homebrew. On an M1 mac the Homebrew path should be /opt/homebrew so you could check the path for mongo using which:
> which mongo
/opt/homebrew/bin/mongo
If the path to mongo is as expected, I would then try:
brew update; brew upgrade mongodb-community
Alternatively, you can also specify installing a 4.4 shell:
In case you want the mongosh binary instead of installing it via Homebrew, we have it available for M1 in our download center: MongoDB Shell Download | MongoDB
Does this mean uninstalling HomeBrew, and all of it’s related directories etc? I’m not clear on the level of overhead HomeBrew adds to the system, or how to go about the uninstall as it pertains to the system overall?
No need to uninstall Homebrew. If you have already installed mongosh via Homebrew and that does not work well, you can uninstall it with brew uninstall mongosh.