Skip to content

Instantly share code, notes, and snippets.

@rdyson
Last active September 4, 2018 07:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdyson/3fe9be78a3a521663056ed67da2835d8 to your computer and use it in GitHub Desktop.
Save rdyson/3fe9be78a3a521663056ed67da2835d8 to your computer and use it in GitHub Desktop.
Install `git` on macOS 10.14 Mojave beta without installing brew

Install git on Mojave without brew

I was able to set up git without installing brew on Mojave (10.14 Beta 18A293u) as follows:

  1. Install XCode Beta (build 10L176w) from https://developer.apple.com/download
  2. Install Command Line Tools (macOS 10.14) for Xcode 10 Beta from https://developer.apple.com/download/more
  3. Set developer directory by running sudo xcode-select -s /Applications/Xcode.app/Contents/Developer in the terminal
  4. Verify that git works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment