![]() To make sure everything is working, run brew doctor to check if there is any error. Use the following command (tested on macOS Sierra) sudo xcode-select -switch /Library/Developer/CommandLineToolsĪfter you change the path, homebrew should be able to find all the binaries provided by the command line tools. Everything works fine on my MacOs High Siera in which I install Xcode manually since Vips needs either ninja, Xcode or Visual Studio to build. You can use it to make apps for all mac OSs, iOS, iPad OS, watch OS, and tv OS. Therefore, we need to update the Xcode path to point it to the actual directory for command line tools. Install Xcode’s Command Line Tools You need Xcode for some Homebrew tools, Xcode is a macOS integrated development environment (IDE). ![]() Update Xcode’s pathĪfter you remove the Xcode.app, your homebrew will have trouble finding all the command binaries. Then, type xcode-select install into your. This is pretty easy, just move it to trash and empty your trash. To install Xcode Command Line Tools, navigate to your devices Terminal app again through Spotlight Search. ![]() Remove the Xcode applicationįirst thing to do is to remove the Xcode.app located in ~/Applicationswhich is taking up a huge amount of space. Therefore, I would like to uninstall Xcode while keeping the command line tools. I know that the only thing I need from Xcode is its command line tools for homebrew. I realize that Xcode takes up around 10G space and I’m not doing any iOS/macOS development. ![]() Recently I was cleaning up the disk space of my MacBook Air.
0 Comments
Leave a Reply. |