SyntaxFix
Write A Post
Hire A Developer
Questions
I was able to find my version of Xcode on maxOS Sierra using this command:
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables | grep version
as per this answer.