0 votes
1 view
in Web Technology by (39.9k points)

On my mac, I have installed the mongoDB(version 2.0.2) using Homebrew. I want to use 'aggregate' function but it is only available from version 2.2 so for that I update the mongoDB using the following code:

 brew upgrade mongodb

But I get the following error:

Error: mongodb already upgraded

How can I install the latest version of MongoDB?

1 Answer

0 votes
by (86.5k points)

First of all, you have to update your Homebrew to the current version with the help of the following command:

brew update

After that you will have to update the MongoDB:

brew upgrade mongodb

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
asked Oct 16, 2019 in Web Technology by Sammy (47.8k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...