how to add to bashprofile code example Example: Add the following lines to your $HOME/.bash_profile touch ~/.bash_profile; open ~/.bash_profile