본문 바로가기
프로그래밍/기타

Mac 에서 homebrew 설치하기

by 0job 2023. 1. 19.
반응형

kmm을 사용하기 위해서 mac 에서 homebrew 설치한 후 kdoctor를 설치해야 한다.

 

homebrew를 설치하는 방법에 브라우저에

brew.sh로 공식홈페이지에 들어가서 명령어를 복사한 후 터미널에서 치면 되는데, 

 

명령어는 아래와 같다.

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

 

brew 설치 후 

 

- Run these three commands in your terminal to add Homebrew to your PATH:

    echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/????/.zprofile

    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/????/.zprofile

    eval "$(/opt/homebrew/bin/brew shellenv)"

 

이런 명령어가 나오면서 안되면 

    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/????/.zprofile

    eval "$(/opt/homebrew/bin/brew shellenv)"

 

요 두 명령어를 터미널에 치면된다.

 

반응형

댓글