.xip
file (v11.4.1 at the time of writing) is ~8 gigabytes zipped. When you unzip it, that's another 17 gigabytes. Then you'll need the command line tool, which is yet another 1.5 gigabytes.cd
before typing the commands in the below steps. This will return you back to the home folder.Xcode_x_x_x.xip
file. Keep in mind that Xcode 11.4.1 is 8 gigabytes, so this will take awhile depending on your internet connection..xip
to extract it. Your laptop will extract it to the same folder you downloaded it to. This extraction process is automatic. You don't need to do anything more after you click on the .xip
file. This step will take a few minutes.sudo xcode-select -switch /Applications/Xcodex.x.x.app
. Replace x.x.x
with the version number. For example: Xcode11.4.1.app
. You will need to enter in your computer admin password. I'm pretty sure this will update the default Xcode version for all users on your computer, so best to check with other users first.dmg
.dmg
.xcode-select --install
instead of visiting the developer website..dmg
has finished downloaded, double click the file to open it. This will open a little window that looks like this:.dmg
file to the trash bin. Since you should no longer need this file. I always say yes to this.brew config
.xip
file of the version you just downloaded, as well as the CLT.dmg
file.