title: xcode-select: error: no developer tools were found, and no install could be requested (perhaps no UI is present)
body: <p>When I tried to install Xcode command line tools with</p>
  <pre><code>xcode-select --install
  </code></pre>
  <p>I got the error</p>
  <pre><code>xcode-select: error: no developer tools were found, and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'
  </code></pre>
  <p>I found a similar question <a href="https://developer.apple.com/forums/thread/21448" rel="nofollow noreferrer">here</a>, but this does not work for me.
  Any ideas? Thanks first.</p>