파이문

맥에서 brew 사용할 때 /usr/local is not writable. You should change the ownershipand permissions 본문

트러블 슈팅

맥에서 brew 사용할 때 /usr/local is not writable. You should change the ownershipand permissions

민Z 2019. 6. 16. 16:57

맥에서 brew로 뭔가를 하는데 아래와 같이 에러가 떴다.

Error: /usr/local is not writable.

You should change the ownership and permissions of /usr/local back to your user account:

sudo chown -R $(whoami) /usr/loca

그러면 아래 처럼 셸에서 사용하면 된다.

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

 

출처

Comments