Install Command Line Tool

Command Line Tool 설치 명령어

Install Command

sudo xcode-select --install

에러 발생 시

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

기존 디렉토리 삭제 후 다시 설치하면 정상적으로 설치된다.

sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist

sudo xcode-select --reset