Skip to content

Instantly share code, notes, and snippets.

@tomasevich
Last active May 6, 2019 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomasevich/3b204862d7e69ecf950623371801ae67 to your computer and use it in GitHub Desktop.
Save tomasevich/3b204862d7e69ecf950623371801ae67 to your computer and use it in GitHub Desktop.
Установка MongoDB на MacOS

Ставим брю (brew)

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

Ставим монго (гайд на англ.)

brew install mongodb

Настраиваем монго (гайд на англ.)

Запускаем и радуемся

mongodb

Можно добавить как сервис и радоваться еще больше

brew services start mongodb

Чекнуть состояние сервиса можно так

brew services list | grep mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment