Why can’t I update to the latest MongoDB using Homebrew?

I installed mongo version 2.0.2 on my Mac, and I installed it using Homebrew. The course I’m using is using the “aggregation” function, which can only be used in version 2.2 of Mongo. I tried to do

brew upgrade mongodb

I got it

Error: mongodb already upgraded

Is there a way to install the latest version of Mongo with Homebrew?

This command should update the homemade formula to the latest version:

brew update

Next:

brew upgrade mongodb

To install the latest version of mongodb.

I installed mongo version 2.0.2 on my Mac, and I installed it using Homebrew. The course I’m using is using the “aggregation” function, which can only be used in version 2.2 of Mongo. I tried to do

brew upgrade mongodb

I got it

Error: mongodb already upgraded

Is there a way to install the latest version of Mongo with Homebrew?

This command should update the homemade formula to the latest version:

brew update 

Next:

brew upgrade mongodb

To install the latest version of mongodb.

Leave a Comment

Your email address will not be published.