_무제

macOS homebrew 설치 오류

흰 the JohFam 2021. 3. 25. 11:08

내 macOS는 big sur 11.2.2

zsh: command not found: brew

1. export PATH="/usr/local/bin:$PATH">> ~/zshrc

안 됨.

2. # We'll be installing Homebrew in the /opt directory.

cd /opt

# Create a directory for Homebrew. This requires root permissions.

sudo mkdir homebrew

# Make us the owner of the directory so that we no longer require root permissions.

sudo chown -R $(whoami) /opt/homebrew

# Download and unzip Homebrew. This command can be found at https://docs.brew.sh/Installation.

curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

# Add the Homebrew bin directory to the PATH. If you don't use zsh, you'll need to do this yourself.

echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc

 

https://velog.io/@mordred/Apple-M1-Mac%EC%97%90%EC%84%9C-HomeBrew-%EC%84%A4%EC%B9%98

 

Apple M1 Mac에서 HomeBrew🍺 설치

공식 홈페이지에 나와있는위 명령어는 M1에서는 $ zsh command not found brew 과 같은 결과를 준다.M1 Mac에서 HomeBrew를 설치하는 방법은 아래와 같다.brew와 함께 즐거운 개발을 시작하면 된다. 😎

velog.io

안 되고

3. export PATH="/usr/local/bin:$PATH"

 

https://github.com/Homebrew/brew/issues/10187

 

Getting "zsh: command not found: brew" error when installing youtube.dl · Issue #10187 · Homebrew/brew

Im new to macos, so apologies if Im a noob. I installed Homebrew on M1 mac running Big Sur 11.1, and I installed XCode, but when I try to install youtube-dl I get this error message and I dont know...

github.com

됐다

 


홈브루 다시 다 지움..

근데 코드 한 줄로 안 지워져서 opt 폴더 찾아가서 직접 또 지움.....엉엉구리

 

https://hongtaoh.com/en/2020/05/23/uninstall-homebrew-completely/

 

How to Completely Uninstall Homebrew From a Mac - 郝鸿涛::Hongtao Hao

My Macbook Air is pretty old, so I cannot put up with any useless files that take up a lot of space on my laptop. When installed, Homebrew takes up over 400MB. That’s a lot of space, at least for me. I installed Homebrew and then I wanted to delete it. S

hongtaoh.com

 

 

 

21.3.16 백업

'_무제' 카테고리의 다른 글

mac) vscode 단축키  (0) 2021.07.13
Colab 환경에서 tensorboard 이용  (0) 2021.04.02