The "git" command requires the command line developer tools????

Sorry, it's not directly an FCP question.


I downloaded the OpenShot video editor and every time I launch it I get this annoying popup.


Anyone know why it appears and also how to stop it . . . other than by not using OpenShot?



iMac 27″ 5K

Posted on Sep 29, 2023 9:49 AM

Reply
Question marked as Top-ranking reply

Posted on Oct 1, 2023 9:59 AM

Some apps need Xcode command line tools.


For example, I use exiftool to set file dates the same as image and movie internal metadata dates. In macOS the command asks for Xcode Command Line Tools install (like OpenShot does) which can be ignored but then the FileCreateDate moves only backwards in time (the install is quite small and fast, not the huge Xcode install).


I usually download and install it from here with the latest non-beta version for that macOS version:


https://developer.apple.com/download/more/


Then accept Xcode EULA via the Terminal:


sudo xcodebuild -license


After that there might be very rarely a prompt to update to the latest version.


You can install Xcode command line tools also via the Terminal with the command below but in my experience that might sometimes fail so I usually download it manually.


xcode-select --install





7 replies
Question marked as Top-ranking reply

Oct 1, 2023 9:59 AM in response to Ian R. Brown

Some apps need Xcode command line tools.


For example, I use exiftool to set file dates the same as image and movie internal metadata dates. In macOS the command asks for Xcode Command Line Tools install (like OpenShot does) which can be ignored but then the FileCreateDate moves only backwards in time (the install is quite small and fast, not the huge Xcode install).


I usually download and install it from here with the latest non-beta version for that macOS version:


https://developer.apple.com/download/more/


Then accept Xcode EULA via the Terminal:


sudo xcodebuild -license


After that there might be very rarely a prompt to update to the latest version.


You can install Xcode command line tools also via the Terminal with the command below but in my experience that might sometimes fail so I usually download it manually.


xcode-select --install





Sep 29, 2023 10:50 AM in response to Ian R. Brown

git is a version control system. They may be using it for updates but it's a rather odd way of going about it. In the terminal try typing


git version


then hit Return and see if that's an unknown command or it actually tells you a version. If it's unknown it's not installed. If there's a version number it is.


Me, there's no way I'd let it install that using an "Install" button.

Oct 2, 2023 2:41 AM in response to Ian R. Brown

> hundreds of tools listed, so which one do I need?


The latest is "Command Line Tools for Xcode 15". That works on Sonoma (BTW ffmpeg install via MacPorts is now fixed -- the maintainers did an update because Xcode 15 had removed some old features). Or get it via that Terminal command mentioned above.


I have never uninstalled Command Line Tools but I'd follow the instructions below. Sometimes the update nags might need deleting also the remaining Receipts.


https://apple.stackexchange.com/questions/308943/how-do-i-uninstall-the-command-line-tools-for-xcode


https://apple.stackexchange.com/questions/328034/removing-uninstalled-command-line-tools-from-appstore-updates/328089#328089


Or just ignore the install prompt. Or install the tools and let them be, I guess they take about 1 GB of disk space.

Oct 2, 2023 2:17 AM in response to Matti Haveri

Initially when I thought Terminal had cured the popup I was accidentally opening Shotcut not OpenShot. I have been testing both apps.


So OpenShot is the "problem" and have verified it by checking on both my Macs.


Thanks for the link. Unfortunately there are probably hundreds of tools listed, so which one do I need?


If I later get rid of OpenShot, how would I delete the tools from my Mac?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

The "git" command requires the command line developer tools????

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.