how to set a pytohon installation the default one in mac code example Example: set python 3 as default mac [ -e ~/.profile ] && . ~/.profile