How do I install a specific release of a Homebrew formula on GitHub?
Not sure whether this is a good idea or not, but it does seem like you can install from an older commit.

So for example the following command seems to work to download, build and install version 2017.05.02.01 of buck. Note that it will try to download and compile from source because the binaries have been deleted from the repo.

brew install https://raw.githubusercontent.com/facebook/homebrew-fb/7511722fd58e999e5d8c3a415d4e8cd1deee8f21/buck.rb

I got to this by:


Going into the commit history of homebrew-fb
Clicking on the &lt;> button for the "Update buck.rb to v2017.05.02.01" commit to take me into the repository as it existed with that commit
Selecting the buck.rb file
And lastly clicking the "Raw" button to get the url directly to that specific version of the buck.rb