[SOLVED] Can you install disabled Homebrew packages?

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under
CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.


> brew install maven@3.5
Error: maven@3.5 has been disabled because it is not maintained upstream!

I don’t want to have to install Maven 3.5, but I need to install Maven 3.5. Can I force Homebrew to install this package it clearly knows about?


You can edit the formula with:

brew edit maven@3.5

Remove the line:

disable! date: "2022-07-31", because: :unmaintained

And install it with:

brew install maven@3.5

Answered By – Ortomala Lokni

people found this article helpful. What about you?