开发者

Can I install Homebrew after Xcode?

The Homebrew Installation Instructions list installing Xcode after running the Ruby Homebrew install script.

Does the order matter? I.e., is it OK if I run the script after I've installed Xcode?

I already have Xcode 4 installed.

I looked at the script and just ran it, and I don't think the order matters because all it did was create /usr/local, set its permissions and group, and install some files there:

==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...

Press enter to continue

==> /usr/bin/sudo /bin/chmod g+w /usr/local
==> /usr/bin/sudo /usr/bin/chgrp 开发者_如何学编程staff /usr/local
==> Downloading and Installing Homebrew...
==> Installation successful!

Would it make any difference if I reinstalled the same exact disk image (.dmg) of Xcode 4 now?


It's definitely fine to install Xcode first. Note that the end of the script even checks if Xcode is installed and complains only if it isn't yet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜