在使用brew的时候,提示错误
-bash: brew: command not found
解决方案
vim /etc/profilt
尾部添加
PATH=".;$PATH:/usr/local/bin"
执行命令
source /etc/profile
原因有可能是你新增的环境变量,但是未把之前的引入导致了无法使用。
在使用brew的时候,提示错误
-bash: brew: command not found
解决方案
vim /etc/profilt
尾部添加
PATH=".;$PATH:/usr/local/bin"
执行命令
source /etc/profile
原因有可能是你新增的环境变量,但是未把之前的引入导致了无法使用。