安装 brew 时我收到一个错误,我不确定它是什么:
overminds-MacBook-Air:~ overmind$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press ENTER to continue or any other key to abort
==> Downloading and installing Homebrew...
-e:194: command not found: Error: /usr/bin/xcode-select returned unexpected error. --version
我需要担心这个吗?(我只是按照教程安装 git)。
提前致谢。
答案1
这表明xcode-select
缺少,因此意味着 Xcode 未安装。
安装 Xcode,然后运行它并允许它安装组件,然后重试安装。