Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

install mongodb mac m1

#Install xcode command line tools if you don't have
xcode-select --install

#Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

#Install mongodb
brew tap mongodb/brew
brew update
brew install mongodb-community@5.0
Comment

PREVIOUS NEXT
Code Example
Shell :: make pip3 pip 
Shell :: copy partition to another disk linux 
Shell :: git set editor 
Shell :: install dlib gpu check 
Shell :: npm legacy-peer-deps 
Shell :: scikit-learn python 
Shell :: watch and compile scss command 
Shell :: Sublime Text install Ubuntu/Debian 
Shell :: remove commit not pushed 
Shell :: run prometheus command 
Shell :: install axios 
Shell :: git empty commit 
Shell :: check if service is running server 
Shell :: poetry python 
Shell :: git tutorial remove branches on local that do not exist on remote 
Shell :: make shortcut folder for wamp 
Shell :: list remote branches git 
Shell :: vadersentiment pip install 
Shell :: how to add proxy to your command line linux 
Shell :: interact with container 
Shell :: python pytorch 
Shell :: base64 encode linux 
Shell :: how to remove sensitive data from github history 
Shell :: how to get deployment token from firebase 
Shell :: cuda driver install in ubuntu 
Shell :: bash check if string starts with substring 
Shell :: repository commands 
Shell :: grep exclude 
Shell :: git push template 
Shell :: macos make file executable 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =