I have tried the most common suggestion of running it from command line but no luck.
Command:
open /Users/username/Downloads/Xcode.app/Contents/MacOS/Xcode
Error:
Xcode[3762:21719] [MT] IDEPackageInstallerHelper: Generic message for error: Error Domain=PKInstallErrorDomain Code=201 "An error occurred establishing a connection to the installation service." UserInfo={NSLocalizedDescription=An error occurred establishing a connection to the installation service.}
I'm unable to download and install command line tools separately. It complains about the macOS version.
I share the same sentiment as @zumacinsmity. On a regular day I support versions of the apps that are developed using older versions of Xcode. At least one major version older. In my case I was trying to install Xcode 13.2.1
i have same problem i am new here but here not working