-
m1 맥북 command not found brew 해결법개발 2021. 9. 17. 14:22
터미널에서 homebrew(홈브류)를 쓸 때 brew라는 커맨드가 발견되지 않았다고 경고문이 떠서 해결책을 찾아봤다.
어떤 명령어를 치면 작동한다고 하는데 내가 쓰는 m1 맥북에서는 작동하지 않았다.
m1맥북에서는 다른 명령어를 입력해야하나보다. 스택오버플로우에서 그 방법을 찾았다.
홈브류를 설치한 상태에서 터미널에 다음을 입력하고 터미널을 껐다 다시 키면 brew 명령어가 잘 작동한다.
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
출처: https://stackoverflow.com/questions/20381128/installing-homebrew-on-os-x
Installing Homebrew on OS X
According to the Homebrew site, to install it, I need to type: brew install wget I get an error message: -bash: brew: command not found Found this answer. The problem, however, is I don't see br...
stackoverflow.com
'개발' 카테고리의 다른 글
mySQL "cannot add foreign key constraint" 에러 (0) 2021.12.03 비주얼스튜디오코드 VSC-prolog 사용법(맥북) (0) 2021.09.17 유니티(Unity) Animation event has no receiver error 에러 (0) 2021.08.23 Do it 점프 투 장고 햄버거 메뉴 오류 (0) 2021.08.23 렌파이 이미지 크기 조정 (0) 2021.08.23