I have downloaded Xcode on my Mac running macOS Mojave and trying to install the command line tools using the following command:

xcode-select --install

But it is giving me the following error:

enter image description here

Why am I getting this error and how do I overcome this?

You must log in to answer this question.

Browse other questions tagged .