huachenkai

macOS安装MongoDB

先在macOS里安装一个很好的插件

1.百度搜索homebrew 或 直接进入https://brew.sh

2.复制网页下面的命令符

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

3.粘贴到终端,回车

4.等待安装

5.安装完成后,在终端输入 brew install mongodb 回车

6.等待安装

7.安装完成后在终端输入 brew services start mongodb 回车

8.在终端输入mongo或mongodb即可进入MongoDB

posted on 2018-09-05 10:40 Henry8566 阅读(...) 评论(...) 编辑 收藏

分类:

技术点:

相关文章:

  • 2021-10-15
  • 2021-12-04
  • 2021-12-05
  • 2021-04-27
  • 2021-08-19
  • 2021-04-22
  • 2021-06-09
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2021-09-21
  • 2022-01-02
  • 2021-12-10
  • 2021-09-16
  • 2022-01-05
相关资源
相似解决方案