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
然后打开http://localhost:8080/