brew how to install a certain version code example
Example 1: how to install specific version of software on mac using brew
$ brew install [email protected]
Example 2: how to install specific version of software on mac using brew
brew switch [formula] [version]