To install MongoDB on macOS (if you have Homebrew installed (https://brew.sh/):
brew tap mongodb/brew
This will clone the github repo. Once the command finishes you can issue the command to install mongodb-community. The following will install the latest version of the community edition.
brew install mongodb-community
In order to start the mongo service and restart on login run the following: –
==> Downloading http://mirrors.jenkins.io/war-stable/2.204.2/jenkins.war
==> Downloading from http://mirror.serverion.com/jenkins/war-stable/2.204.2/jenk
######################################################################## 100.0%
==> jar xvf jenkins.war
==> Caveats
Note: When using launchctl the port will be 8080.
To have launchd start jenkins-lts now and restart at login:
brew services start jenkins-lts
Or, if you don't want/need a background service you can just run:
jenkins-lts
==> Summary
🍺 /usr/local/Cellar/jenkins-lts/2.204.2: 7 files, 63.9MB, built in 37 seconds
Start Jenkins using the following command: –
brew services start jenkins-lts
Jenkins will now be available on: http://localhost:8080. Follow the customisation prompts to complete the installation.