Hello, I’m a computer science student. I’ve a macbook air, and I’m short on space, so I want to know if it is necessary to install the xcode along with the command line tool or if I can install them separately? Because I don’t need the Xcode as of now. Please help me with this.
I have installed the cli tools when I tried to run something in the past. I can’t remember exactly what I was doing but it asked me to install them.
Apple has a full page on their developer site about installing the tools via cli. It looks like it just installs the cli portion of Xcode.
As far as I’m aware I only have the cli tools installed, not the full Xcode package.
Scroll to commandline tools and download. You will need a dev license.
Try here: https://xcodereleases.com/
You might also want to check out MacPorts (https://www.macports.org/). They provide many useful tools for working on a Mac. I use the gcc compiler suite from there for everything I do. The MacPorts wiki has several useful discussions of working with the CLI toolkit.
I use Homebrew instead.
They list thee options to install the Command Line Tools (CLT) for Xcode:
- via
xcode-select --install - Xcode from Apple Developer site
- Xcode from App Store
These options have all been suggested here above, so I hope the OP succeeded by now.
Hey, this is good, but I’m facing a problem while deleting the installed xcode app. I have deleted the app but that much space has not been vacated.