xcodes
$ xcodes Community Med Riskxcodes (XcodesOrg/xcodes) installs and manages multiple Xcode releases and simulator runtimes on macOS (xcodes list, xcodes installed, xcodes install, xcodes select). Accelerates unarchiving with --experimental-unxip and supports --no-switch and local .xip --path installs for CI runners.
brew install xcodes xcodes manages multi-gigabyte local .xip extraction, /Applications installation, and xcode-select symlinks directly on the macOS host, which is inherently a local CLI task.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Scriptable via subcommands and flags (--architecture, --no-switch, --path, --experimental-unxip), but emits plain text without --json and can prompt for Apple 2FA.
- Supports
XCODES_USERNAME/XCODES_PASSWORDand--pathoffline.xipinstalls - No
--jsonoutput mode; Apple ID login may require interactive 2FA
Provides --no-switch to avoid breaking active builds and stores credentials in macOS Keychain, though xcodes select requires sudo privileges.
--no-switchprevents unintendedxcode-selectchanges- Multi-GB disk writes and
sudoprompts onselect
Native Swift binary via brew install xcodes, strictly limited to macOS hosts.
- macOS-only tool distributed via Homebrew
Far faster and cleaner than manual Apple Developer portal downloads thanks to --experimental-unxip and xcodes runtimes.
- Handles Xcode
.xipdownloads, unxip, runtime installs, andxcode-select
Well-known XcodesOrg community project (XcodesOrg/xcodes) under MIT license.
- MIT-licensed community standard for macOS CI Xcode provisioning
Clear README documentation and Swift ArgumentParser --help output.
- Structured
--helpacrossinstall,list,select, andruntimes
Security, Auth & Guardrails
Reads XCODES_USERNAME and XCODES_PASSWORD env vars and stores Apple Developer session tokens in macOS Keychain.
MIT open-source CLI; requires macOS and an Apple Developer account for downloading from Apple.
# xcodes Agent Rules - Check `xcodes installed` before downloading multi-gigabyte `.xip` archives. - Pass `--no-switch` during `xcodes install` unless the user wants to change the global `xcode-select` target. - Be aware that Apple ID downloads may trigger 2FA prompts unless using `--path` with a pre-cached `.xip`.
Agent-Ready Command Recipes
Safe Read-Only Queries
xcodes installed
Prints installed Xcode versions and their paths in /Applications.
xcodes list --architecture arm64
Lists downloadable Xcode versions compatible with Apple Silicon without authenticating.
Controlled Writes & Previews
xcodes install 16.2 --no-switch --experimental-unxip
Downloads and extracts Xcode 16.2 while preserving the current xcode-select active path.
Strengths for Agents
- +
--experimental-unxipand--no-switchmake multi-version Xcode provisioning fast and predictable. - +
xcodes listandxcodes installedwork without Apple ID authentication.
Caveats & Pitfalls
- ! macOS-only; emits unstructured text output with no
--jsonflag. - ! Downloading directly from Apple can block on interactive 2FA unless installing from a local
.xipvia--path.