Post

Homebrew 사용하기

MacOS 사용을 간편하게

Homebrew 사용하기

Install Homebrew

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

설치를 하고 나면, 마지막에 echo 포함 실행문을 보여줍니다. 복사해서 그대로 실행해주시면 됩니다.

혹시 권한 문제로 설치가 안된다면 sudo 를 앞에 붙여 관리자로 실행하면 됩니다.

How Does Homebrew Do?

install

1
brew install wget

home

1
2
3
4
5
6
7
8
cd /opt/homebrew
find Cellar
  Cellar/wget/1.16.1
  Cellar/wget/1.16.1/bin/wget
  Cellar/wget/1.16.1/share/man/man1/wget.1
  
ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget

그 외에도 -h 로 명령어를 보면, upgrade, edit, update 등의 옵션이 있다.


자세한 내용은 홈페이지 에서 확인해 보세요!

This post is licensed under CC BY 4.0 by the author.