Can you install disabled Homebrew packages?

Viewed 99
> 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?

1 Answers

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
Related