LoginSignup
2
1

More than 1 year has passed since last update.

Big Sur で brew 使おうとしたら Your Command Line Tools are too outdated. と言われた

Posted at

私のマシンに関して

MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
スクリーンショット 2021-12-17 16.19.44.png

エラー内容 と 解決方法

brew install xx しようとしたら以下のエラーが出た。

Error: Your Command Line Tools are too outdated.
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/all/.
You should download the Command Line Tools for Xcode 13.1.

指示通り sudo xcode-select --install すると以下のエラーが出た。

xcode-select: error: no developer tools were found, and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.

結局 以下から Command Line Tools for Xcode 13.2 をとってきて install したら、brew が復活した
https://developer.apple.com/download/all/

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1