[英]Mogodb won't install on my mac. I installed homebrew in order to install Mongodb but I'm getting some error messages
我使用以下命令安装 mongodb:
my-MBP:~ user$ brew install mongodb:
这是输出
Error: No available formula with the name "mongodb"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
These similarly named formulae were found:
mongodb/brew/mongodb-community mongodb/brew/mongodb-community@3.4
mongodb/brew/mongodb-community-shell mongodb/brew/mongodb-community@3.6
mongodb/brew/mongodb-community@3.2 mongodb/brew/mongodb-community@4.0
To install one of them, run (for example):
brew install mongodb/brew/mongodb-community
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
为什么我尝试输入“brew install mongo”,也会发生同样的事情。 自制软件没有正确安装? 我如何具体解决这个问题?**
如果您还没有这样做,我会遵循官方安装指南: https : //docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ https://github.com/mongodb /自制酿造
要使用 brew 安装,您必须首先:
brew tap mongodb/brew
然后,
brew install <mongodb>
对于输入, mongodb
似乎不是一个选项。 它应该类似于mongodb-community@4.2
,如指南中所示。
希望这可以帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.