<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									macOS - Determine Xcode command tools version in Terminal - Miscellaneous				            </title>
            <link>https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 09 Jun 2026 02:19:21 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: macOS - Determine Xcode command tools version in Terminal</title>
                        <link>https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5294</link>
                        <pubDate>Thu, 04 Jan 2024 14:17:40 +0000</pubDate>
                        <description><![CDATA[And another way to test this:
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables]]></description>
                        <content:encoded><![CDATA[<p>And another way to test this:</p>
<pre contenteditable="false">pkgutil --pkg-info=com.apple.pkg.CLTools_Executables</pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/miscellaneous-development/">Miscellaneous</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5294</guid>
                    </item>
				                    <item>
                        <title>RE: macOS - Determine Xcode command tools version in Terminal</title>
                        <link>https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5102</link>
                        <pubDate>Thu, 12 Oct 2023 08:58:12 +0000</pubDate>
                        <description><![CDATA[Interesting additional info is by looking at the install/update history ...
$ softwareupdate --history | grep Command

Command Line Tools for Xcode                       14.2       09/22/...]]></description>
                        <content:encoded><![CDATA[<p>Interesting additional info is by looking at the install/update history ...</p>
<pre contenteditable="false">$ softwareupdate --history | grep Command

Command Line Tools for Xcode                       14.2       09/22/2023, 12:54:57  
Command Line Tools for Xcode                       14.3       09/22/2023, 12:54:57  
Command Line Tools for Xcode                       15.0       09/22/2023, 12:54:57  </pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/miscellaneous-development/">Miscellaneous</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5102</guid>
                    </item>
				                    <item>
                        <title>RE: macOS - Determine Xcode command tools version in Terminal</title>
                        <link>https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5101</link>
                        <pubDate>Wed, 11 Oct 2023 11:08:31 +0000</pubDate>
                        <description><![CDATA[Well another, probably more correct way (requires XCode to be installed):
xcodebuild -version
Results in:
$ xcodebuild -version  

Xcode 15.0
Build version 15A240d]]></description>
                        <content:encoded><![CDATA[<p>Well another, probably more correct way (requires XCode to be installed):</p>
<pre contenteditable="false">xcodebuild -version</pre>
<p>Results in:</p>
<pre contenteditable="false">$ xcodebuild -version  

Xcode 15.0
Build version 15A240d</pre>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/miscellaneous-development/">Miscellaneous</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5101</guid>
                    </item>
				                    <item>
                        <title>macOS - Determine Xcode command tools version in Terminal</title>
                        <link>https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5099</link>
                        <pubDate>Wed, 11 Oct 2023 08:04:30 +0000</pubDate>
                        <description><![CDATA[With all the changes lately, I found it a challenge to determine what version command-line tools I had installed on my Mac.
After all, XCode gives me a rather useless number:
$ xcode-selec...]]></description>
                        <content:encoded><![CDATA[<p>With all the changes lately, I found it a challenge to determine what version command-line tools I had installed on my Mac.</p>
<p>After all, XCode gives me a rather useless number:</p>
<pre contenteditable="false">$ xcode-select --version

xcode-select version 2397</pre>
<p>But with some help I did find that the CLang version (<strong>clang --version</strong>) is the indicator we need to look for (now that makes sense, and why is Xcode version not showing this?)</p>
<pre contenteditable="false">$ clang --version

Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</pre>
<p>So there ya go: command line tools 15 ... (in this example)</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/miscellaneous-development/">Miscellaneous</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/miscellaneous-development/macos-determine-xcode-command-tools-version-in-terminal/#post-5099</guid>
                    </item>
							        </channel>
        </rss>
		