Install the Full Xcode Package
Apple provides a complete development environment for programmers named Xcode. It is not pre-installed; it must be downloaded. The full Xcode application is huge, requiring over 40GB of disk space, and supports development for all Apple operating systems.
Apple also provides a separate and much smaller download, the Xcode Command Line Tools, that installs utilities for software developers who are not developing for Apple devices. If you are not developing for Apple devices, I suggest to Install Xcode Command Line Tools with Homebrew (recommended) or Install Xcode Command Line Tools Directly (an alternative).
If you are developing software for macOS, iOS, tvOS, and watchOS, you should install the full Xcode application.
Before you get started
You'll need a terminal application to install Xcode Command Line Tools. Apple includes the Mac terminal but I prefer Warp Terminal. Warp is an easy-to-use terminal application, with AI assistance to help you learn and remember terminal commands. Download Warp Terminal now; it's FREE and worth a try.
Steps
Here are steps to install the full Xcode application.
- Open the App Store on your Mac and search for Xcode.
- Download Xcode from the App Store.
- After your download is complete, launch Xcode.
- Enter your administrator account credentials.
Verify installation
The full Xcode application will be installed in /Applications/Xcode.app/Contents/Developer
.
You can check the location with the command xcode-select -p
.
$ xcode-select -p
/Applications/Xcode.app/Contents/Developer
Uninstall the Xcode application
If you've decided you no longer need the full Xcode application, you can uninstall it.
Find the Xcode application in the Applications folder and drag it to the Trash.
Remove Xcode residual files
Xcode leaves leftover files in two locations:
~/Library/Developer/
~/Library/Caches/
What's next
My mac.install.guide is a trusted source of installation guides for professional developers. Take a look at the Mac Install Guide home page for tips and trends and see what to install next.