ホーム > Other > How to Fix 'xcode-select: note: No developer tools were found, requesting install'
Other

How to Fix 'xcode-select: note: No developer tools were found, requesting install'

Thank you for your continued support.
This article contains advertisements that help fund our operations.

On an M4 Mac, the terminal cannot be used by default, and the error 'xcode-select: note: No developer tools were found, requesting install' occurs. This article summarizes how to resolve this issue.

Full Error Message to Resolve

xcode-select: note: No developer tools were found, requesting install.
If developer tools are located at a non-default location on disk, use sudo xcode-select --switch path/to/Xcode.app to specify the Xcode that you wish to use for command line developer tools, and cancel the installation dialog.
See man xcode-select for more details.

Solution

xcode-select --install

Just run this command.

Honestly, they could have just included this in the error message.

By the way, it seems you can also install Xcode from the App Store, but it takes up a lot of space, so many people might avoid this option.

From my memory of Intel-based Macs, it felt like you could use the terminal right out of the box. What a surprise.

But since the M4 is significantly faster at building, I guess I can forgive it.

Please Provide Feedback
We would appreciate your feedback on this article. Feel free to leave a comment on any relevant YouTube video or reach out through the contact form. Thank you!