You can not use the brew command after installing Homebrew on Mac systems

Open a terminal input brew Tip: command not found Solution

input the command:

sudo vim .bash_profile

Enter the following code:

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

Then use the following commands to validate the configuration:

source .bash_profile

So you can use the command brew

Guess you like

Origin www.cnblogs.com/it1000/p/11095690.html