我不知道如何在 OSX Mavericks 上安装命令行工具。
或者更好:我知道怎么做(我刚刚在另一台 MacBook 上做了),但这次出了点问题。
发生了什么:
- 我在 OSX Mavericks 上安装 Homebrew
- Homebrew 要求我安装 CLT 并为此运行 GUI
- 我犯了一个错误:我安装了 XCode 而不是 CLT,但我发现 CLT 没有随之安装
现在,当我写
brew doctor
我明白了
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.
我写下它所说的,但我总是得到
Usage: xcode-select -print-path
or: xcode-select -switch
or: xcode-select -version
Arguments:
-print-path Prints the path of the current Xcode folder
-switch xcode_folder_path Sets the path for the current Xcode folder
-version Prints xcode-select version information
我想我应该看到 GUI (截图 https://stackoverflow.com/a/19537471/3038408),我在开始时看到它,让我安装 CLT。
有谁知道如何再次运行该 GUI?
尝试直接从 Apple 开发者工具网站下载:https://developer.apple.com/downloads/index.action https://developer.apple.com/downloads/index.action.
这需要使用开发者帐户登录。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)