Searching for a previously deleted formula (in the last month)...Warning: homebrew/core is shallow clone. To get complete history r。MAC安装Mongo。" />

MAC安装Mongo

【MAC安装Mongo】安装mongodb的时候报错,

Error: No available formula with the name "mongodb" ==> Searching for a previously deleted formula (in the last month)... Warning: homebrew/core is shallow clone. To get complete history run: git -C "$(brew --repo homebrew/core)" fetch --unshallowError: No previously deleted formula found. ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Warning: Error searching on GitHub: curl failed!% Total% Received % XferdAverage SpeedTimeTimeTimeCurrent DloadUploadTotalSpentLeftSpeed 00000000 --:--:-- --:--:-- --:--:--0 curl: (7) Failed to connect to api.github.com port 443: Connection refusedError: No formulae found in taps

后来发现好像是闭源了,操作流程见下边的连接,
https://github.com/mongodb/homebrew-brew
设定:brew install mongodb-community@4.2
启动:$ brew services start mongodb-community

    推荐阅读