Skip to Content

Homebrew: Install an older version of a formular

Posted on

Install an older version of a formular

brew install node@12
# => Error: node@12 has been disabled because it is not supported upstream!

Based on this answer on StackOverflow, this error appears cause this Node version is unmaintained:

brew edit node@12

# ....
# /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/[email protected]
disable! date: "2022-07-31", because: :unmaintained
# ....

So if we comment/delete this line, we can install normally by command: brew install node@12

BUT =)) It not work on MacOS Ventura. With Ventura, after deleting above line, we need to cd and install from file:

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/
brew install ./[email protected]
comments powered by Disqus