brew install python 3.6 in environment code example Example: brew install python 3.7 brew install python@3.7