

Within the terminal, you can easily issue simple commands to automate downloading and installing software, view the packages that your computer has and maintain them easily. Without you going through hassles of individually downloading installer files, execute them and move them to the application folder. Although it's not too late if you have been using it for a while (wink).Īccording to the official website of Homebrew, it declares 'Homebrew is the missing package manager for OS X and Linux and it installs the stuff you need that Apple (or your Linux system) didn’t.' If you have ever used NPM(Node Package Manager) before, it works in a similar way. It definitely should be one of the software you should install on your machine as soon as you get your new shiny brand-new computer. To make sure everything is working, run brew doctor to check if there is any error.Homebrew is brewed for your success. 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. Therefore, we need to update the Xcode path to point it to the actual directory for command line tools. Update Xcode’s pathĪfter you remove the Xcode.app, your homebrew will have trouble finding all the command binaries. This is pretty easy, just move it to trash and empty your trash. 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.
