xcodes
brew install xcodes
v2.0.2
MIT
Command-line tool to install, manage, and switch between multiple versions of Xcode on macOS.
Why you might care
macOS developers who work across projects with different Xcode requirements can use xcodes to download and switch versions without the overhead of the App Store or manual installation. It's a single-binary Swift tool that handles version discovery, installation, and PATH setup for seamless multi-version Xcode workflows.
11.5k
30-day installs · #332
30.3k
90-day · #391
65.9k
365-day · #563
4.7k
★ GitHub stars · updated 4d ago
GitHub topics
hacktoberfest
macos
swift
xcode
Links
- https://github.com/XcodesOrg/xcodes
- GitHub: XcodesOrg/xcodes
- Brew formula source: Formula/x/xcodes.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"Xcodes.app",
"App Store"
],
"build_dependencies": [],
"categories": [
"sysadmin",
"package-manager"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Best command-line tool to install and switch between multiple versions of Xcode",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:40:48+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "xcodes",
"github_default_branch": "main",
"github_last_commit_at": "2026-06-17T02:52:16Z",
"github_readme_excerpt": "# xcodes\n\nThe best command-line tool to install and switch between multiple versions of Xcode.\n\n_If you\u0027re looking for an app version of `xcodes`, try [Xcodes.app](https://github.com/XcodesOrg/XcodesApp)._\n\n\n\n\n\n### :tada: Announcment\n\nXcodes is now part of the `XcodesOrg` - [read more here](nextstep.md)\n\n## Installation\n\n### Homebrew (Preferred)\n\n```sh\nbrew install xcodesorg/made/xcodes\n```\n\nThese are Developer ID-signed and notarized release builds and don\u0027t require Xcode to already be installed in order to use.\n\n**Other methods:**\n\n\u003cdetails\u003e\n\u003csummary\u003eDownload a release\u003c/summary\u003e\n\nDownload the latest release from the [Releases](https://github.com/XcodesOrg/xcodes/releases) page. These are Developer ID-signed release builds and don\u0027t require Xcode to already be installed in order to use.\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eUsing \u003ca href=\"https://github.com/yonaskolb/Mint\"\u003eMint\u003c/a\u003e\u003c/summary\u003e\n\n```sh\nmint install XcodesOrg/xcodes\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eBuild from source\u003c/summary\u003e\n\nBuilding from source requires Xcode 12.0 or later, so it\u0027s not an option for setting up a computer from scratch.\n\n```sh\ngit clone https://github.com/XcodesOrg/xcodes\ncd xcodes\nmake install\n# or, if /usr/local/ isn\u0027t in your PATH\nPREFIX=/your/install/directory make install\n```\n\nWhile installing, you may get the following output:\n\n```sh\nswift build\nerror: terminated(72): xcrun --sdk macosx --find xctest output:\n```\n\nIf that occurs, it means you need to select a version of Xcode. You can do this with `xcode-select` or by choosing a Command Line Tools option in Xcode\u0027s preferences Locations tab.\n\u003c/details\u003e\n\n## Usage\n\n### Install Xcode : \n\nInstall a specific version of Xcode using a command like one of these:\n\n```sh\nxcodes install 10.2.1\nxcodes install 11 Beta 7\nxcodes install 11.2 GM seed\nxcodes install 9.0 --path ~/Archive/Xcode_9.xip\nxcodes install --latest-prerelease\nxcodes install --late",
"github_repo": "XcodesOrg/xcodes",
"github_stars": 4693,
"github_topics": [
"hacktoberfest",
"macos",
"swift",
"xcode"
],
"homepage": "https://github.com/XcodesOrg/xcodes",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 11521,
"installs_365d": 65866,
"installs_90d": 30321,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:44:13+00:00",
"llm_model": "claude-haiku-4-5",
"name": "xcodes",
"oldnames": [],
"one_liner": "Command-line tool to install, manage, and switch between multiple versions of Xcode on macOS.",
"optional_dependencies": [],
"rank_30d": 332,
"rank_365d": 563,
"rank_90d": 391,
"raw_hash": "35304e177055b638",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/x/xcodes.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"swift"
],
"version_head": null,
"version_stable": "2.0.2",
"versioned_formulae": [],
"why_use_this": "macOS developers who work across projects with different Xcode requirements can use xcodes to download and switch versions without the overhead of the App Store or manual installation. It\u0027s a single-binary Swift tool that handles version discovery, installation, and PATH setup for seamless multi-version Xcode workflows."
}