[Solved] Brew Install MongoDB Error: “Error: No available formula with the name “mongodb””

reason

Error reporting means that mongodb is not available in homebrew.

Using brew search mongodb , it is found that there is no relevant version, because mongodb is not open source and has been deleted in the brew core warehouse.

Solution:

Just execute two commands:

Associate a third-party warehouse with tap: brew tap mongodb/brew .

Install mongodb community version: brew install mongodb community or brew install mongodb community @specify the version number . (the former installs the latest source in brew library by default)

Similar Posts: