Start brew-installed applications from terminal I just set up homebrew on my new macbook and used the brew and brew cask commands to install some applications. I can now open the applications from the launchpad but not from the terminal.

I know it's not working because the applications have not been saved to one of the directories in my $PATH variable, but none of the installation guides I have read for homebrew mention how you can set it up to put links to the binaries there. Some tutorials mention you should change the order of directories in your /etc/paths file, but I already did that and my problem persists.

Can anyone help me out? :)
Add the following to your ~/.bash_profile:

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


This prepends /usr/local/bin to your existing $PATH.