728x90
📢 Macbook에 package manager 역할을 하는 homebrew를 설치해봤어요
설치 명령어 입력
Terminal을 열고 아래 명령어를 입력해요
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
엇 설치가 된 것 같은데 brew 명령이 안먹어요
- brew 설치 경로가 환경 변수에 추가되어 있지 않아서 그런거에요!
환경 변수 설정
brew 명령을 설치 경로 입력 없이 사용하려면 환경 변수 설정을 제대로 해줘야해요
homebrew 설치 후 출력된 로그에 아래와 같이 환경 변수 설정 명령이 있으니 참고해서 설정해요
echo >> /Users/[user_name]/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/[user_name]/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
이제 설치 경로 없이 brew 명령을 사용 할 수 있어요
728x90
'TIL > 2025' 카테고리의 다른 글
| Learn the architecture - Generic Interrupt Controller v3 and v4, Overview (0) | 2025.06.12 |
|---|---|
| mac에서 eframe 무작정 사용해보기 (feat. egui, rust) (0) | 2025.05.04 |
| Mac book에 git 설치하기 (1) | 2025.05.01 |
| Virtualizing the generic timers, Arm architecture aarch64 (0) | 2025.04.29 |
| Virtualizing Exceptions in the Arm Architecture AArch64 (0) | 2025.04.29 |