Command Line Tools For Catalina

  • Status:Closed(View Workflow)
  • Resolution: Fixed
  • Fix Version/s: None
  • Labels:

It seems that SRCTREE-3172 has returned with Source Tree 4.0.1 (234) under macOS 10.15.4 (Catalina). When selecting 'Install Command Line Tools' from the SourceTree menu, the error 'Failed to install command line tools, please see the system.log for details' is displayed. One difference this time is that nothing is written to any of the system log files when the install fails.

Votes:
1Vote for this issue
Watchers:
2Start watching this issue

Command Line Tools For Catalina

Tools

Recently, I have upgraded mac to 10.15.1 and I got a weird issue with node-gyp while working on my node project. It started failing when I was doing npm install. The issue reported was regarding the xcode-select CLT. We usually avoid installing full xcode and install the CLT (Command Line Tools) using xcode-select --install command.

Tried to run the command again but it did not work as CLT was already installed.

Command line tools without xcode catalina

Cant command line tools on catalina You’re now watching this thread and will receive emails when there’s activity. Click again to stop watching or visit your profile/homepage to manage your watched threads. The release notes say “Command line tool support for Subversion — including svn, git-svn, and related commands is no longer provided by Xcode. If you need Subversion or related command line tools the you need to install the Command Line Tools package by running xcode-select –install.” I seem to be in a loop here, as the tools are installed. If you have a Mac running Catalina and a third-party command tool to hand, here’s a little worked example of what happens. Add a quarantine flag to a copy of that command tool (easily done using my free utility xattred), and install it – either at the command line or using Finder – in /usr/local/bin. Then run it from Terminal. Removed the folder named CommandLineTools. Use sudo if needed. Ran the command xcode-select -install which prompts for installing the command line toos. Once done, everything is back to normal for my node project. Putting it here serves two purpose. One, It may help someone else and so won't hamper the productivity.

I did struggle for sometime to fix the issue. Finally, I found the solution and this is what I did.

  • Navigated to the folder /Library/Developer/ using terminal.
  • Removed the folder named CommandLineTools. Use sudo if needed.
  • Ran the command xcode-select --install which prompts for installing the command line toos. Once done, everything is back to normal for my node project.

Putting it here serves two purpose. One, It may help someone else and so won't hamper the productivity. Two, If there is another way to solve this issue, we can share it here through comment to let others know.

Command Line Tools For Catalina Download

Have you faced this issue? If so, how you fixed it? Tell your experience and solution in comment section below.

Happy Learning!

Command Line Tools Osx Catalina

Image credit: Unsplash - @maxcodes