How to Fix the “Your CLT does not support macOS 11” Error in macOS
If you encounter the “Your CLT does not support macOS 11” error while using Homebrew to install a package on macOS, such as rbenv, here’s how you can resolve it.
First, let’s take a look at the error message:
1 | Error: Your CLT does not support macOS 11. |
To fix this issue, follow these steps:
Run the following command as suggested in the error message:
1
softwareupdate --all --install --force
If this doesn’t show you an update, proceed to the next step.
Remove the existing Command Line Tools (CLT) by running the following commands in the terminal:
1
2sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --installAfter removing the CLT, you can now try installing the package with Homebrew again. For example:
1
brew install rbenv
By following these steps, you should be able to fix the “Your CLT does not support macOS 11” error on macOS.