Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Jenkins Tutorials: How to install & Uninstall Jenkins in MacOS

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
  • 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

After starting the Jenkins service, browse to http://localhost:8080 and follow the instructions to complete the installation. Also see the external materials for installation guidelines. For example, this blogpost describes the installation process.

How to Uninstall / Remove Jenkins from MacOS?


# 1. Stop the Jenkins Service
brew services stop jenkins-lts

# 2. Uninstall Jenkins via Homebrew
brew uninstall jenkins-lts

# 3. Remove Jenkins Home Directory
rm -rf /Users/<your-username>/.jenkins

# 4. Remove Jenkins Log Files (adjust path for Apple Silicon Macs)
rm -rf /usr/local/var/log/jenkins
# For Apple Silicon Macs (if applicable)
rm -rf /opt/homebrew/var/log/jenkins

# 5. Remove Launch Daemon (if applicable)
sudo rm /Library/LaunchDaemons/homebrew.mxcl.jenkins-lts.plist

# 6. Clear Homebrew Cache (Optional)
brew cleanup

# 7. Restart your Mac (Optional)
sudo shutdown -r now

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x