无法在OSX Mavericks上安装命令行工具

无法在OSX Mavericks上安装命令行工具

问题描述:

我尝试按照非常有用的

I tried to install the command line tools on Mavericks following the steps in this very useful post

> xcode-select --install

但是几秒钟后我收到消息

but after a few short seconds I get the message

这似乎是错误的.有谁知道如何解决这个问题?

This seems wrong. Does anyone know how to solve this problem?

每当我导航到@Nikos M.建议的页面

Whenever I navigate to the page that @Nikos M. is suggesting

我收到此消息

我遵循了@Rich的建议,可以下载并安装以前无法完成的软件包,但是我发现我仍然无法访问很多我所使用的命令应该只用arpdiskutil来命名我最近遇到的两个.

I followed @Rich's suggestion and I was able to download the package and install it which I wasn't able to do before, but I've found that I still don't have access to a lot of the commands that I should like arp or diskutil just to name two that I've encountered recently.

此处.您必须是注册开发人员.

Install them from here. You must be a registered developer.

其他解决方案是:在xcode中,单击Xco​​de>打开开发人员工具>更多开发人员工具

Other solution is: in xcode click Xcode>Open Developer Tool>More Developer Tools

这将带您进入需要开发人员Apple ID登录的链接.从那里,您需要在通过身份验证后重定向到

This should then take you to a link which will require a developer Apple ID sign in. From there, you'll be redirected after authenticating to https://developer.apple.com/download/more/ where you can manually download and install the Command Line Tools.