how to set new python version 3.9_2 as default mac code example Example: set python 3 as default mac [ -e ~/.profile ] && . ~/.profile