brew 安装的软件比如nginx使用时 command not found

sudo nginx 开启nginx服务时, zsh一直报错command not found

解决:

1、

brew link nginx 

 2、

找到nginx的安装目录加到path环境变量中

posted on 2020-09-07 20:07  ZhYQ_note  阅读(334)  评论(0)    收藏  举报

导航