(这句算是预处理?)
brew tap mongodb/brew下面这句非常耗时
brew install mongodb-community@5.0开启
brew services start mongodb-community@5.0 停止
brew services stop mongodb-community@5.0 启动 MongoDB shell
mongosh退出 MongoDB shell
control + D

旧的进入 MongoDB shell 的命令
mongo
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。