TIL-52. zsh: command not found: brew

solarrrrr·2022년 1월 25일
0

Today I Learned

목록 보기
52/74
post-thumbnail

postgresql을 brew를 통해 설치하려는데 위와 같은 오류가 나왔다.
보통 환경변수에 zsh에서 homebrew 설치 경로가 추가돼 있지 않거나 잘못돼 있어서 그런데 아래 명령어로 해결했다.

# M1 맥북 기준
eval $(/opt/homebrew/bin/brew shellenv)
profile
몰입

0개의 댓글