Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

mongodb mac

$ brew tap mongodb/brew
$ brew install mongodb-community@5.0.6

/*TO START*/ 
brew services start mongo-community

/*TO STOP*/
brew services stop mongo-community
Comment

install mongodb in mac

// updated 2021
$ brew tap mongodb/brew
$ brew install mongodb-community@4.4
Comment

install mongodb on mac

brew services start mongodb-community@4.2
#Step 3 to run as a service
Comment

install mongodb mac

Install brew using the -- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap mongodb/brew
brew install mongodb-community@5.0
Comment

install mongodb on mac

brew install mongodb-community@4.2
#Step 2
Comment

mongodb installation on mac

//Starts Mongdb server @ mongodb://127.0.0.1:27017/
brew services start mongodb-community@4.2
mongod --config /usr/local/etc/mongod.conf --fork
ps aux | grep -v grep | grep mongod
mongo
Comment

how to start mongodb in mac

command to activate mongodb through a terminal

mongod --dbpath /usr/local/var/mongodb --logpath /usr/local/var/log/mongodb/mongo.log --fork
Comment

mongodb install macbook

brew install mongodb-community@5.0
Comment

install mongodb on mac

// updated 2022 
// watch this video it will help you download and configure mongodb 
// locally so that mongod command will work
// I did not made the video nor I would benefit but after spending more
// than one hour installing it and not make it work this helped me alot
// and finally made it work
// Use this for macos latest versions
// https://www.youtube.com/watch?v=4crXgQZG4W8
Comment

install mongodb on mac

//be sure you have GNU's GCC:
brew install gcc
Comment

mongodb install macbook

brew tap mongodb/brew
Comment

install mongodb in mac

brew tap mongodb/brew
brew install mongodb-community@[version number]
Comment

PREVIOUS NEXT
Code Example
Shell :: how to remove dpkg package in ubuntu 
Shell :: where to find zshrc mac 
Shell :: graphviz windows install 
Shell :: igraph 
Shell :: linux modem manager 
Shell :: head of zipped file 
Shell :: chmod x command 
Shell :: top port scan nmap 
Shell :: how to change the web default browser in linux 
Shell :: push local branch to remote github 
Shell :: docker stop running container 
Shell :: how to install deb file in kali linux 
Shell :: copy local docker image to kind cluster 
Shell :: access wsl filesystem from windows 
Shell :: How to generate a self-signed certificate SSL HTTPS 
Shell :: stop nginx server 
Shell :: install brew max 
Shell :: Invalid response body while trying to fetch 
Shell :: how to push newly created branch in git bash 
Shell :: ssh transfer folder 
Shell :: ngrok command 80 not found 
Shell :: or in matlab 
Shell :: how to read input in bash 
Shell :: linux run command in background and redirect output to file 
Shell :: chmod: Unable to change file mode Operation not permitted 
Shell :: github push an existing repository from the command line 
Shell :: adding in ssh agent 
Shell :: windows check installed fonts 
Shell :: add mirror list arch linux 
Shell :: View network transfer RX / TX (Linux) 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =