Skip to content

Instantly share code, notes, and snippets.

@laozhu
Last active July 22, 2018 07:46
Show Gist options
  • Save laozhu/f47a60bce72c6bec55dfff36699c6188 to your computer and use it in GitHub Desktop.
Save laozhu/f47a60bce72c6bec55dfff36699c6188 to your computer and use it in GitHub Desktop.
Install Xcode Beta

安装步骤:

  1. Download "Xcode Beta" from https://developer.apple.com/download/
  2. Unzip it and move it to /Applications (Waiting a long time...)
  3. Download "Command Line Tools for Xcode Beta" from https://developer.apple.com/download/more/
  4. Run the installer for "Command Line Tools"
  5. sudo xcode-select --switch path/to/Xcode-beta.app
  6. xcode-select --install
  7. /usr/bin/sudo /usr/sbin/softwareupdate --list --all

参考资料:

Cannot install brew on Mojave with Xcode10

macOS 10.14(beta) How to install Command_Line_Tools_macOS_10.14_for_Xcode_10_Beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment