set python 3.9 as default mac m1 code example Example: set python 3 as default mac [ -e ~/.profile ] && . ~/.profile