💡

homebrew로 git 설치하기

 
homebrew 설치를 위해 아래 코드를 터미널에 복사 붙여넣기 합니다.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
 
Password:문구가 출력되면 맥 로그인 비밀번호를 입력합니다.
 
brew가 잘 설치되어있는지 확인합니다.
brew --version
notion imagenotion image
 
zsh: command not found: brew 오류가 뜨는 분은 아래 명령어를 입력해주세요.
eval $(/opt/homebrew/bin/brew shellenv)
 
homebrew로 깃을 설치합니다.
brew install git
 
설치 후 git 버전을 확인합니다.
git --version