1 min read

Install Command Line Tool

Command Line Tool 설치 명령어 정
Install Command Line Tool
Photo by Gustas Brazaitis / Unsplash

Command Line Tool 설치 명령어

Install Command

sudo xcode-select --install

2

3

에러 발생 시

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