Deiv
Deiv

Reputation: 11

Errors when trying to install jenkins using Homebrew

screenshot of actual error message

I have tried all the alternative ways to install jenkins on my macbook air but with no lack. I will appreciate anyone with the current solution to this.

This is the error message I get after running brew install jenkins:

Error: No similarly named formulae found.
Error: No available formula or cask with the name "jenkins".
It was migrated from homebrew/cask to homebrew/core.

I also get a "fata" message

fatal: Needed a single revision

I am very knew to Jenkins and trying to learn usage.

Upvotes: 1

Views: 2069

Answers (3)

Sushant Gosavi
Sushant Gosavi

Reputation: 3845

Run this command in terminal:

rm -fr $(brew --repo homebrew/core)

Then try:

 brew install jenkins

It works

Upvotes: 1

01SagarArora
01SagarArora

Reputation: 9

enter image description here

brew doctor

then

Homebrew/homebrew-core was not tapped properly! Run: rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" brew tap homebrew/core

then

brew install jenkins-lts

Upvotes: 1

Guido Mista
Guido Mista

Reputation: 11

Have a look on this page : https://www.jenkins.io/download/lts/macos/

You must use brew install jenkins-lts to install jenkins.

Upvotes: 0

Related Questions