brew mongodb 安装 使用 brew update
2022/8/24 2:22:58
本文主要是介绍brew mongodb 安装 使用 brew update,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
参考:
菜鸟教程 https://www.runoob.com/mongodb/mongodb-osx-install.html
https://juejin.cn/post/6974036633205080095
- 简化
wuyueping@wuyueping ~ % xcode-select --install xcode-select: error: command line tools are already installed, use "Software Update" to install updates wuyueping@wuyueping ~ % brew tap mongodb/brew wuyueping@wuyueping ~ % brew install mongdodb-comminity@6.0 ==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula or cask with the name "mongdodb-comminity@6.0". ==> 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. wuyueping@wuyueping ~ % brew install mongodb-community@6.0 ==> Installing mongodb-community from mongodb/brew ==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula with the name "mongosh" (dependency of mongodb/brew/mongodb-community). It was migrated from mongodb/brew to homebrew/core. wuyueping@wuyueping ~ % echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/' >> ~/.zshrc wuyueping@wuyueping ~ % source ~/.zshrc wuyueping@wuyueping ~ % brew update -v ...... ==> Outdated Formulae consul ghc openjdk python@3.9 redis sqlite xz gdbm jmeter openssl@1.1 readline sphinx-doc tcl-tk zookeeper You have 14 outdated formulae installed. You can upgrade them with brew upgrade or list them with brew outdated. wuyueping@wuyueping ~ % brew install mongodb-community@6.0 ==> Downloading https://fastdl.mongodb.org/tools/db/mongodb-database-tools-macos-x86_64-100.6.0.zip ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//brotli-1.0.9.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//c-ares-1.18.1_1.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//icu4c-70.1.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//libnghttp2-1.48.0.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//libuv-1.44.2.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//ca-certificates-2022-07-19_1.all.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//openssl%401.1-1.1.1q.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//node%4016-16.17.0.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles//mongosh-1.5.4.catalina.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://fastdl.mongodb.org/osx/mongodb-macos-x86_64-6.0.1.tgz ######################################################################## 100.0% ==> Installing mongodb-community from mongodb/brew Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force If that doesn't show you any updates, run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install Alternatively, manually download them from: https://developer.apple.com/download/all/. You should download the Command Line Tools for Xcode 12.4. ==> Installing dependencies for mongodb/brew/mongodb-community: mongodb-database-tools, brotli, c-ares, icu4c, libnghttp2, libuv, ca-certificates, openssl@1.1, node@16 and mongosh ==> Installing mongodb/brew/mongodb-community dependency: mongodb-database-tools Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force If that doesn't show you any updates, run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install Alternatively, manually download them from: https://developer.apple.com/download/all/. You should download the Command Line Tools for Xcode 12.4.
这篇关于brew mongodb 安装 使用 brew update的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-15SendGrid 的 Go 客户端库怎么实现同时向多个邮箱发送邮件?-icode9专业技术文章分享
- 2024-11-15SendGrid 的 Go 客户端库怎么设置header 和 标签tag 呢?-icode9专业技术文章分享
- 2024-11-12Cargo deny安装指路
- 2024-11-02MongoDB项目实战:从入门到初级应用
- 2024-11-01随时随地一键转录,Google Cloud 新模型 Chirp 2 让语音识别更上一层楼
- 2024-10-25Google Cloud动手实验详解:如何在Cloud Run上开发无服务器应用
- 2024-10-24AI ?先驱齐聚 BAAI 2024,发布大规模语言、多模态、具身、生物计算以及 FlagOpen 2.0 等 AI 模型创新成果。
- 2024-10-20goland工具下,如修改一个项目的标准库SDK的版本-icode9专业技术文章分享
- 2024-10-17Go学习:初学者的简单教程
- 2024-10-17Go学习:新手入门完全指南