본문 바로가기
Development

[Mac M1] Homebrew 설치

by doozzuri 2023. 1. 14.
반응형

애플 실리콘(M1) 홈브루 설치

1. command + space > 터미널 검색 및 실행

 

2. 아래 스크립트 실행

/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"

 

3. macOS 패스워드 입력

 

4. 설치가 완료되면 출력되는 메시지 확인

==> Next steps:
- Run these two commands in your terminal to add Homebrew to your PATH:
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users//.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
    <https://docs.brew.sh>

 

5. 복사 붙여넣기로 실행

(사용자마다 스크립트가 살짝 다르므로, 터미널에 출력되는 메시지를 복사해서 실행할것)

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/<USER_ID>/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
반응형