Xcode Tutorial: Install/Uninstall Xcode Command Line Tools (xcode-select, xcrun, Apple Developer)

preview_player
Показать описание
In this video we'll look at how to install and uninstall the Xcode Command Line Tools (Xcode CLT), using xcode-select, xcrun, and the Apple Developer download portal.

** DISCLAIMER **
Be VERY careful when removing Xcode CommandLineTools using `rm -rf /Library/Developer/CommandLineTools` in a ROOT terminal session. Inserting the wrong path will result in you deleting something unintentionally, such as your entire hard drive!!!! DOUBLE TRIPLE check your path before hitting enter using that command!
** END DISCLAIMER **

Hit the like button, comment, subscribe, and hit the dinner bell to be notified of my next video!

If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:

00:00 Intro
00:10 Check if you have Xcode CLT
00:58 xcode-select --install
01:41 Manual install from Apple Developer
03:17 Uninstall Xcode CLT
04:02 End

Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.

Thank you for watching!

Huge thank you to the channels below for helping me get started!
Uncreated Light Press
and

Mr. Macintosh
and

The Apple Ninja
Рекомендации по теме
Комментарии
Автор

How to install Xcode CommandLineTools, and remove them! Be extremely careful removing anything with `rm -rf`!!!!

swift_goose
Автор

Thanks for the tutorial. You had me nervous with that ‘rm -rf’ 🤣

etg
Автор

Thank heavens for this vid. Have had endless searchers trying to figure out why my CLT install has been shot for a while now, until the magical "rm". Did cross my mind but was to unsure of doing it, but this set my resolve to give it a go. Now the world is back to normal again. Thank you.

drewhen
Автор

I knew a guy that meant to remove Xcode app with a script he wrote and totally wrecked his system with rm -rf / Applications/--Xcode.app-- <- DO NOT USE THIS! Notice the space after the /, which means you are trying to remove the root volume and Current which will fail. Keep up the vids Swift Goose!

AppleNinja
Автор

Awesome video @Swift Goose! Keep up the great work!

Mr.Macintosh
Автор

Great video great tutorial thanks swift goose !!

mimozakote
Автор

Thanks for the upload. I ended up installing through Safari since mine was busted.

thewayasmr
Автор

Hi, even though I deleted all the files, there’s still a prompt in System Preferences to update the CLT. How do I get rid of this??

sh
Автор

After deleting the developer folder, there are still xcode-select files like you said as well as a few other system files left containing xcode in the name. They are unremovable by right-click, moving to trash, sudo rm -rf command. Would they interfere if there is ever a need to reinstall xcode? Is there a way to get rid of them completely?

karinamarkina
Автор

Hey I cant install it it always says Can't install the software because it is currently not available from the Software Update server.

styLahfiiShchiLLah
Автор

i cant uninstall mine says permision denied

freaklatino
Автор

When i try to delete it it says access denied

Alex-mtqe