ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Mac에서 Homebrew 설치 시 zsh: command not found 에러
    Python 2022. 8. 18. 00:51
    728x90
    반응형

    mongoDB 설치 전 Homebrew 설치하려는데 터미널 창에 아래 에러메세지가 나왔을때 해결방법입니다.

    zsh: command not found: brew

     

    Homebrew /usr/local/...이 아닌  /opt/homebrew/ 설정되어 있는 상태이므로

    export PATH=/opt/homebrew/bin:$PATH

     명령을 주면  디렉토리의 .zshrc 설정해 ZSH shell이 brew command 찾아 실행할 있게 됩니다. 

     

    728x90
    반응형

    'Python' 카테고리의 다른 글

    [Mac]맥에서 사용중인 서버 끄기 (port kill)  (0) 2022.11.23

    댓글

Designed by Tistory.