Developer/Posting

Error: Your Command Line Tools (CLT) does not support macOS 11.

codingzipsa 2021. 5. 31. 23:31
반응형

오랜만에 홈브류를 이용하려다보니 제목과 같은 에러가 발생하였다.

Error: Your Command Line Tools (CLT) does not support macOS 11.
It is either outdated or was modified.
Please update your Command Line Tools (CLT) or delete it if no updates are available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.
You should download the Command Line Tools for Xcode 12.5.

Error: An exception occurred within a child process:
  SystemExit: exit

1. 맥 커맨드 라인 툴이란?

한국어로는 '명령줄 도구 패키지'이다. 맥북 터미널에서 동작할 수 있게 리눅스의 git이나 svn 그리고 내가 쓰려고 했던 brew 등 명령에 필요한 컴파일러 및 유틸리티를 제공한다고 한다.

 

2. 에러 사유

내 커맨드 라인 툴이 예전버전으로 Mac OS 11버전인 빅서를 지원하지 않는 것이다.

 

3. 해결방안

에러 내용에 나와 있듯이 현재 커맨드 라인 툴을 삭제하고 새로 설치를 진행해주면 된다.

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

설치하는데 다운로드 시간이 꽤 걸린다. 나 같은 경우 30분 넘게 걸린 것 같다!

 

끝!

반응형