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

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 41

  • @swift_goose
    @swift_goose  3 роки тому +8

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

    • @vladvisnevski99
      @vladvisnevski99 2 роки тому +1

      i installed it manually, and everything went ok, but i dont see it in "ls -la Library/Developer/"

  • @etg7125
    @etg7125 3 роки тому +9

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

  • @georgezugravu1467
    @georgezugravu1467 3 роки тому +4

    Congrats on 100 subscribers!

  • @drewhen1567
    @drewhen1567 2 роки тому +1

    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.

    • @swift_goose
      @swift_goose  2 роки тому +1

      I’m glad it helped! Some of the file locations and what not make it frustrating at times for sure.

  • @AppleNinja
    @AppleNinja 3 роки тому +4

    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--

    • @swift_goose
      @swift_goose  3 роки тому +3

      That sounds like a bad day for them 😂. Always gotta watch out for that /

  • @anacinxo6927
    @anacinxo6927 3 роки тому +7

    Great Tutorial!!!

  • @Mr.Macintosh
    @Mr.Macintosh 3 роки тому +4

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

    • @swift_goose
      @swift_goose  3 роки тому +1

      Thanks! You too! It's nice to see the monitors so properly aligned in all of your videos

  • @mimozakote4683
    @mimozakote4683 3 роки тому +5

    Great video great tutorial thanks swift goose !!

  • @sh1121
    @sh1121 3 роки тому +3

    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??

    • @swift_goose
      @swift_goose  3 роки тому +1

      If you're on macOS Catalina or earlier, you can type in terminal `softwareupdate --ignore "name of the CLT update here"`. If you're on macOS Big Sur or later, I have not found a solution for this at this point!

  • @thewayasmr
    @thewayasmr 3 роки тому +4

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

  • @karinamarkina301
    @karinamarkina301 3 роки тому +1

    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?

    • @swift_goose
      @swift_goose  3 роки тому +2

      What are the path locations and filenames of these files? Most of the time, if you run a fresh Xcode install it will overwrite them so you don't have to worry about it, but I'm curious about what files you're referring to!

    • @karinamarkina301
      @karinamarkina301 3 роки тому +1

      @@swift_goose /usr/share/man/man1/xcode-select.1
      /System/Library/Automator/Build Xcode Project.action
      /usr/share/zsh/5.8/functions/_xcode-select
      /usr/bin/xcodebuild
      /usr/bin/xcode-select

    • @swift_goose
      @swift_goose  3 роки тому +2

      These files are ok to leave in place! Some of them are the Xcode binaries that your Mac needs to run (like xcode-select and xcodebuild), and won't be removable. You can leave them in place with no problem

  • @styLahfiiShchiLLah
    @styLahfiiShchiLLah 3 роки тому +1

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

    • @swift_goose
      @swift_goose  3 роки тому +1

      It makes me wonder if there is something going on with Apples software update server. What macOS version are you on?

    • @michaelbao8849
      @michaelbao8849 3 роки тому +1

      I get the same error message. Mine is high sierra

    • @swift_goose
      @swift_goose  3 роки тому +1

      You can try doing a ‘softwareupdate -clear-catalog’ in Terminal to see if that fixes any issues on macOS Catalina or lower

    • @styLahfiiShchiLLah
      @styLahfiiShchiLLah 3 роки тому +1

      @@swift_goose Hey thanks for the answer I updated Catalian to Big Sur and installed the xcode and it worked.

  • @ComunidadeAtman
    @ComunidadeAtman 2 роки тому +1

    thankssss ✨

  • @Alex-mt8qe
    @Alex-mt8qe 3 роки тому +1

    When i try to delete it it says access denied

    • @Alex-mt8qe
      @Alex-mt8qe 3 роки тому +1

      Permission denied

    • @swift_goose
      @swift_goose  3 роки тому +1

      Did you run the removal command as `sudo` or the root user?

  • @iliailia7943
    @iliailia7943 2 роки тому +1

    How to deliver it

  • @guanabanamedia
    @guanabanamedia 3 роки тому +1

    Thank you!!!!

    • @swift_goose
      @swift_goose  3 роки тому +1

      You're welcome! Glad you enjoyed it!

  • @nahm903
    @nahm903 2 роки тому +1

    download takes foreverrrr

  • @freaklatino13
    @freaklatino13 3 роки тому +1

    i cant uninstall mine says permision denied

    • @swift_goose
      @swift_goose  3 роки тому +1

      Did you try running the uninstall commands as root user, or using sudo?