Homebrew Installer
Jenkins can be installed using the Homebrew package manager. Homebrew formula: jenkins-lts This is a package supported by a third party which may be not as frequently updated as packages supported by the Jenkins project directly.
Sample commands:-
Install the latest LTS version:
brew install jenkins-lts -
Install a specific LTS version:
brew install jenkins-lts@YOUR_VERSION -
Start the Jenkins service:
brew services start jenkins-lts -
Restart the Jenkins service:
brew services restart jenkins-lts -
Update the Jenkins version:
brew upgrade jenkins-lts