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-12-24MongoDB资料:新手入门完全指南
- 2024-12-20go-zero 框架的 RPC 服务 启动start和停止 底层是怎么实现的?-icode9专业技术文章分享
- 2024-12-19Go-Zero 框架的 RPC 服务启动和停止的基本机制和过程是怎么实现的?-icode9专业技术文章分享
- 2024-12-18怎么在golang中使用gRPC测试mock数据?-icode9专业技术文章分享
- 2024-12-15掌握PageRank算法核心!你离Google优化高手只差一步!
- 2024-12-15GORM 中的标签 gorm:"index"是什么?-icode9专业技术文章分享
- 2024-12-11怎么在 Go 语言中获取 Open vSwitch (OVS) 的桥接信息(Bridge)?-icode9专业技术文章分享
- 2024-12-11怎么用Go 语言的库来与 Open vSwitch 进行交互?-icode9专业技术文章分享
- 2024-12-11怎么在 go-zero 项目中发送阿里云短信?-icode9专业技术文章分享
- 2024-12-11怎么使用阿里云 Go SDK (alibaba-cloud-sdk-go) 发送短信?-icode9专业技术文章分享