0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Homebrewで「Your CLT does not support macOS 11.0」が出た時の対応

Posted at

概要

Big Sur で nodebrew をインストールしようとしたら以下のようなエラーとなってしまった。

Error: Your CLT does not support macOS 11.
It is either outdated or was modified.
Please update your 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 an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.

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

原因

CLT (Command Line Tools) が古いか更新されているらしい。

以下のコマンドでインストールしてみたけれど状況は変わらず。

$ sudo xcode-select --install
xcode-select: note: install requested for command line developer tools

対策

言われた通り、一度削除してインストールで解決しました。

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

また、以下からダウンロードすることもできるようだ。
https://developer.apple.com/download/more/
ScreenShot.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?