Amending PATH so that /usr/local/bin is ahead of /usr/bin
Yes, create a .bash_profile file in your home directory containing

PATH="/usr/local/bin:$PATH"


and then do one of the following to make the change active


execute . ~/.bash_profile
execute PATH="/usr/local/bin:$PATH" in the current shell
restart Terminal