Skip to content

Instantly share code, notes, and snippets.

@isamrish
Last active February 14, 2021 19:45
Show Gist options
  • Save isamrish/b1af1b03ca6dbf4bdf075be692eb9c83 to your computer and use it in GitHub Desktop.
Save isamrish/b1af1b03ca6dbf4bdf075be692eb9c83 to your computer and use it in GitHub Desktop.
Install MongoDB in mac os - ( especially Big Sur)

MongoDB in docker

Install mongodb image from docker

docker run  -p 8000:27017 --name mongodb-name -d mongo:3.6

Install mongo shell in your system locally

brew tap mongodb/brew

brew install mongodb-community-shell

Now run mongodb shell to test

mongo "mongodb://127.0.0.1:8000"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment