Can’t install MongoDB 7.0 on macOS with Homebrew

followed the instructions on this page

  1. xcode-select --install

  2. brew tap mongodb/brew

  3. brew update
    // ==> Updating Homebrew…
    // Already up-to-date.

  4. brew install mongodb-community@7.0
    Error: No available formula with the name "mongodb/brew/mongodb-community@7.0".

     `Did you mean mongodb/brew/mongodb-community@5.0, mongodb/brew/mongodb-community@6.0, mongodb/brew/mongodb-community, mongodb/brew/mongodb-community@4.4, mongodb/brew/mongodb-community-shell, mongodb/brew/mongodb-community-shell@4.4, mongodb/brew/mongodb-mongocryptd@7.0 or mongodb/brew/mongodb-enterprise@7.0?`
     
     `In formula file: /usr/local/Homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@7.0.r`
     
     `Expected to find class MongodbCommunityAT70, but only found: MongodbCommunity.`
    

There’s a topic from Apr 2023 where someone mentions this issue and in which a Mongo Employee says he fixed it, but just wanted to let you all know this error is still occurring.

Workaround:
brew install mongodb-community@6.0

Agreed, this issue is still happening on M1

Error: No available formula with the name “mongodb/brew/mongodb-community@7.0”
Did you mean mongodb/brew/mongodb-community@5.0, mongodb/brew/mongodb-community@6.0, mongodb/brew/mongodb-community, mongodb/brew/mongodb-community@4.4, mongodb/brew/mongodb-community-shell, mongodb/brew/mongodb-community-shell@4.4, mongodb/brew/mongodb-mongocryptd@7.0 or mongodb/brew/mongodb-enterprise@7.0?

In formula file: /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@7.0.rb

Good pount.

You are right, I am on apple silicon.

File an issue

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.