I already have Xcode installed and want to install Homebrew. It wants to install Xcode Command Line Tools and I don't have space. Is there a way to install Homebrew without it trying to install the Command Line Tools?
How to install Homebrew without Command Line Tools if already have Xcode
homebrew
Related Question
- MacOS – What’s the relationship between homebrew and xcode command line tools?
- Installing Xcode Command Line Tools
- Is it possible to uninstall Xcode, keep the CLI tools and have a working Homebrew installation running on macOS Mojave
- MacOS – How to install beta command line tools using softwareupdate -l on 10.14.5
- Homebrew not detecting latest Xcode and Command Line Tools, and not uninstalling them either
- Can’t install Homebrew on macOS Mojave; installer doesn’t recognize Command Line Tools
Best Answer
Apple's website for downloading developer tools says that "If you use Xcode, these tools are already embedded in the IDE."
So you shouldn't need to install them again.
But, as mentioned in the commments: it's a 460 Mb download. If you don't have space for that, you're not going to have space for HomeBrew, or any of the things it installs.