맥에서는 터미널을 이용하여 프로그램을 인스톨 할 때에 가장 많이 쓰이는 인스톨러 중 하나가 brew installer 이다. 

마치 리눅스에서 apt 를 이용하여 프로그램을 설치하는 것과 비슷하다.

 

터미널에서 brew 를 호출하였으나 brew 가 설치되지 않았다면 터미널에 다음과 같은 메시지가 뜨게 된다.

-bash: brew: command not found

 

 

터미널에 다음과 같이 입력하면 brew installer 가 설치된다. 

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

출처는 글 아래 brew 홈페이지. 

 

참고로 wget 도 brew 로 아래와 같이 인스톨 할 수가 있다.

 brew install wget

 

 

 

brew 설치 및 brew 패키지는 아래의 brew 홈페이지에 설치 방법이 잘 나와있다.

https://brew.sh/index_ko

 

Homebrew

The missing package manager for macOS (or Linux).

brew.sh

 

반응형

+ Recent posts