Posted on March 21, 2019 by Dae
I'll use Tesseract as an example, but the same logic can be applied to any other Homebrew package.
Backstory: I ran brew upgrade
which upgraded Tesseract on my computer from version 3.05 to version 4.0.0. The new version didn't work the way I wanted, so I decided to downgrade it. It turned out pretty easy.
Once again: in the commands listed below replace tesseract with the name of the package that you want to downgrade.