For recent versions of Homebrew, Jethro’ instructions below may not work work, because we will get an error like:
Invalid usage: Non-checksummed download of <FORMULA_NAME> formula file from an arbitrary URL is unsupported.
I found a workaround:
- Go to the Homebrew Cask search page: https://formulae.brew.sh/cask/
- Type and find the application you are looking for
- On Github click
- Find the version you need by reading the commit messages and view the raw file. Confirm the version variable (normally on line 2) is the version you need.
- Click on the
name of the commit, then
three dotsand select
Save Link As...to download the file locally
- When downloaded, go to download directory
- Finally run
brew install --cask <FORMULA_NAME>.rb
- Voilà 😄
If you need some visual assistance check the screenshots here.