install specific version brew 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]