installing mongodb on m1 mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
installing mongodb on m1 mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
install mongodb on m1
After installing brew from brew.sh
#install
brew tap mongodb/brew
brew install mongodb-community
#setup database directory
sudo mkdir -p /System/Volumes/Data/data/db
sudo chown -R `id -un` /System/Volumes/Data/data/db #if no errors good to go
#tell mongo new db path
sudo mongod --dbpath /System/Volumes/Data/data/db
mongo
mongod
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us