xcodes
Download, install, and manage multiple Xcode versions. tldr-pages
On macOS
macOS
Download, install, and manage multiple Xcode versions. Some subcommands such as runtimes have their own usage documentation.
List all installed Xcode versions
xcodes installedIdentifyList all available Xcode versions
xcodes listIdentifySelect an Xcode version by specifying a version number or a path
xcodes select xcode_versionIdentifyDownload and install a specific Xcode version
xcodes install xcode_versionIdentifyInstall the latest Xcode release and select it
xcodes install --latest --selectIdentifyDownload a specific Xcode version archive to a given directory without installing it
xcodes download xcode_version --directory path/to/directoryIdentify