本文介绍了无法安装命令行工具,"xcode-select --install"不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何在OSX Mavericks上安装命令行工具.或者更好:我知道该怎么做(我刚刚在另一台MacBook上做到了),但是这次出了点问题.

I don't know how to install the Command Line Tools on OSX Mavericks.Or better: I know how to do it (I just did it on another MacBook), but something goes wrong this time.

发生了什么事

  • 我在OSX Mavericks上安装Homebrew
  • 自制软件要求我安装CLT并为此运行GUI
  • 我犯了一个错误:我安装了XCode而不是CLT,但是我发现未随CLT一起安装

现在,当我写

brew doctor

我明白了

我写了它的意思,但我总是得到

I write what it says, but I get always

我认为我应该看到一开始看到的GUI(屏幕截图),并且可以安装CLT.

I think I should instead see that GUI (screenshots) that I saw at the beginning and that let me install the CLT.

有人知道我该如何再次运行该GUI吗?

Does anyone know how can I run that GUI again?

推荐答案

尝试直接从Apple Developer Tools网站下载: https://developer.apple.com/downloads/index.action .
这需要使用开发者帐户登录.

Try downloading directly from the Apple Developer Tools site: https://developer.apple.com/downloads/index.action.
This requires signing in with a developer account.

这篇关于无法安装命令行工具,"xcode-select --install"不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-31 10:45