Source: https://medium.com/@schmijos/installing-old-homebrew-formulas-dc91de0c329c
- Open the GitHub page for the formula:
$ brew info --github awscli- Click on History.
- Locate the commit with the version required and click on it.
- Locate the file
awscli.rb, click on...and View file.