3 ms·
The Homebrew installation process uses the system git.
by atdt 11y ago
The Homebrew installation process uses the system git.
- arm 11y agoYep, since Homebrew requires the Xcode Developer Tools to be installed (which of course includes the outdated Git).
- danieldk 11y agoYes, but if Homebrew is malicious, you'd have more problems than a specially-crafted repository that exploits a git vulnerability. You are installing something that has all user access rights.
- gpvos 11y agoCan you inunstall XCode again once you have installed a compiler, toolchain, and git via Homebrew?
- matt4077 11y agoYou can just install the command line tools without xcode. From those tools, most can be replaced with their homebrew versions so you only need them for bootstrapping. But if you want to do hardware- or OS X related development, you will need to keep the tools around. CUDA, for example, needs clang et. all. They don't take much space, though, and the toolchain is treated a bit better by Apple than utilities like git, vim etc.
- gpvos 11y agoI don't know about homebrew, but macports has clang and other toolchain stuff, so I think it might be possible to uninstall Xcode after installing all necessary tools through macports?
- OJFord 11y agoYou _could_ get recent git by some other means prior to installing homebrew. Anything short of compiling from source wouldn't require ever installing XCLT.