Brew: Consider setting PATH so that / usr / local / bin runs before / usr / bin

I know this must be a tedious question to ask again. However, I return this again, even when I run the oneliner command in the terminal and restart the terminal, nothing changes. Running brew doctor again after restarting will cause the same warning. This is strange as I did the same on another machine and worked like a charm.

Thanks K.

+4
source share
1 answer

Open a terminal and enter this code:

export PATH="/usr/local/bin:$PATH" >> ~/.bash_profile

then close and restart the terminal and enter the following:

brew doctor
+3
source

All Articles