I want to install Command Line Tools on my MacBook Pro (Retina, 13 inch, medio 2014). But I got this warning: Command Line Tools (macOS Sierra version 10.12) can not be installed on this disk. OS X version 10.12 or higher is necessary. How do I get OS X version 10.12 or higher?
Install Command Line Tools
Go to Mac App Store - you should see icon for Mac OS Sierra - click and download it.
Thanks! it worked
Open a Terminal window and run
xcode-select --install