반응형
Notice
Recent Posts
Recent Comments
Link
코딩일상
mac에서 home brew 에러 발생시 (zsh: command not found: brew)(22.07.08) 본문
기록/Troubleshooting
mac에서 home brew 에러 발생시 (zsh: command not found: brew)(22.07.08)
solutionMan 2022. 7. 8. 16:12반응형
mac 터미널에 homebrew를 이용하여 git을 설치하는경우 아래와 같은 오류가 발생하였다.
zsh: command not found: brew
왜 brew라는 명령어가 없다고 뜰까 고민을 해서 구글링을 해보니
homebrew의 경로가 잘못 설정되어있었기에 명령어가 제대로 실행이 되지 않았고
아래 명령어를 입력한후
export PATH=/opt/homebrew/bin:$PATH
출처: https://designdepot.tistory.com/209 [Designdepot | Better Life:티스토리]
brew install git
명령어를 통해 git설치를 마무리 지을수 있었다.
참고블로그
https://designdepot.tistory.com/209
반응형
'기록 > Troubleshooting' 카테고리의 다른 글
Comments