如何在 Macbook(不是 M1)上安装 mongo db

时间:2021-04-15 06:26:25

标签: mongodb

我刚刚输入了 brew install mongo,它给了我这个作为输出。

我的问题是现在要做什么,我必须安装 mongo-c-driver 、 mongo-cxx-driver 、 mongo-orchestration 、 mongoose

谢谢

shouryasharma@Shouryas-MacBook-Air ~ % brew install mongo
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 3 casks.

==> Searching for similarly named formulae...
These similarly named formulae were found:
mongo-c-driver        mongo-cxx-driver      mongo-orchestration   mongoose
To install one of them, run (for example):
  brew install mongo-c-driver
Error: No available formula or cask with the name "mongo".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
shouryasharma@Shouryas-MacBook-Air ~ % 

1 个答案:

答案 0 :(得分:0)

在执行命令“brew install”之前只需执行命令,

brew tap mongodb/brew

也可以在mongodb官网找到所有步骤,

https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/