One thing that I don't know if it's possible with homebrew is installing previous versions of packages. For instance, brew install python3 installs python 3.6. How can I install python3.5?
I don't know if brew does anything like this however, but I know in the apt environment that's usually how multiple versioning is done.