📚 [MacOS] HomeBrew 설치하기
Category: MacOS | 📅 January 08, 2025
HomeBrew 설치하기
-
command
+space
“Terminal” 입력하여 터미널 실행 -
터미널에 아래 명령어 복사 후
Enter
로 실행
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Checking for ‘sudo’ access (which may request your password) 나오면 맥북 비빌번호 넣고 고고싱
- 설치 완료 후 ‘ Next steps ‘ 에 있는 문구 복사 후 Enter
$ echo >> /Users/user-name/.zprofile
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/user-name/.zprofile
$ eval "$(/opt/homebrew/bin/brew shellenv)"
user-name 은 사용자 홈디렉토리 이므로, 대충 변경해서 사용해도 됨.
- 설치 확인하기
$ brew --version
$ brew update
끝.
💭 Reviews
진짜 오랜만에 올려 봄