Automic VaultAutomic Vault

brew

xcodes を Homebrew, MacPorts, Nix でインストール

xcodes のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install xcodes

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install xcodes

MacPorts ports tree · devel/xcodes/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#xcodes

nixpkgs package indexes · pkgs/by-name/xc/xcodes/package.nix · ソース: api.github.com

概要

パッケージ概要

Command-line tool to install and switch between multiple versions of Xcode

コマンドとエイリアス

  • xcodes

履歴

プロジェクトの歴史と使われ方

xcodes is a Swift command-line tool for installing, listing, selecting, and removing multiple versions of Xcode. It fills the same role for Apple's IDE that language version managers fill for Ruby, Node, or Python projects.

プロジェクトの歴史

The repository was created on 2019-02-22 and shipped its initial 0.1.0 release on 2019-03-11 as an MVP for Apple developers who needed side-by-side Xcode installs. The README documents commands for installing specific releases and prereleases, listing available versions, selecting an active Xcode, managing runtimes, and uninstalling versions.

The project began under Robots and Pencils and moved into the XcodesOrg organization on 2023-04-21. The maintainer note describes the move as a response to growth beyond a small utility used by Apple developers around the world, while keeping Matt Kiazyk as owner and maintainer.

By 2024 and 2026, xcodes had adapted to changes in Apple's tooling and distribution model: releases added support for iOS 18+ runtime downloads and SRP Apple login changes, then 2.0.x refactored the CLI onto shared XcodesKit and XcodesLoginKit packages, added architecture-aware filtering, and raised the implementation baseline to Swift 6 and macOS 13.

採用の歴史

xcodes is widely adopted because Xcode versions are large, slow to install manually, and often need to be pinned per project or CI lane. The repository has thousands of GitHub stars and a long release line, and its companion Xcodes.app gives the same version-management idea a graphical macOS interface.

The .xcode-version proposal ties xcodes to a broader convention already used by xcode-install and fastlane. That file lets a repository declare the Xcode version it expects, making xcodes useful in onboarding scripts and CI environments where reproducible Apple build tooling matters.

使われ方

Common workflows include running xcodes list to discover versions, xcodes install to download and install an exact Xcode version, xcodes select to switch the active toolchain through xcode-select, and xcodes runtimes to install platform runtimes. When authentication is required for Apple downloads, xcodes stores Apple ID credentials in the macOS Keychain after prompting or reading environment variables.

Teams often add a .xcode-version file next to an Xcode project or workspace so automation can choose the expected Xcode. The README recommends committing that file for teams and CI, especially when a project depends on a specific stable Xcode release.

パッケージ好きにとっての重要性

xcodes is significant in package-manager culture because it brings version-manager ergonomics to a toolchain Apple distributes as a huge GUI application. It makes Xcode itself scriptable: a package can select, install, and document the IDE/runtime version needed for deterministic builds.

タイムライン

  • 2019-02-22: Repository created on GitHub.
  • 2019-03-11: 0.1.0 initial MVP release.
  • 2023-04-21: Xcodes projects moved from Robots and Pencils into XcodesOrg.
  • 2023-06-23: 1.4.1 release highlighted runtime download and install support.
  • 2024-10-30: 1.6.0 added Apple SRP login support and iOS 18+ runtime download support.
  • 2026-06-08: 2.0.1 refactored the CLI around shared XcodesKit/XcodesLoginKit and architecture-aware downloads.
  • 2026-06-17: 2.0.2 fixed a 2FA authentication regression.

Related projects

  • Xcodes.app is the native macOS GUI companion for the same workflow.
  • fastlane and the legacy xcode-install gem are related because they also use or recognize .xcode-version-style Xcode pinning.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 2 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
./.xcode-version

Credential files

Credential-bearing paths to review before unattended agent runs.

macOS
macOS Keychain

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
xcodescliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版2.0.3
マネージャ更新日2026-07-08
ローカルデータOK
上流最新
検出された最新2.0.3

https://github.com/XcodesOrg/xcodes

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:xcodes
バージョン2.0.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/xcodes
ホームページhttps://github.com/XcodesOrg/xcodes
リポジトリhttps://github.com/XcodesOrg/xcodes
上流ドキュメントhttps://github.com/XcodesOrg/xcodes#readme
ライセンスMIT
ソースアーカイブhttps://github.com/XcodesOrg/xcodes/archive/refs/tags/2.0.3.tar.gz
最終更新2026-07-08T09:48:03Z
Pulseupdated
macOS 提供ライブラリswift
Bottle利用可能 (対象 arm64_sequoia, arm64_tahoe)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexcodes
Version Scheme0
Revision0
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

xcodes

nix profile install nixpkgs#xcodes
  • normalized package name match
  • 一致条件: Xcodes
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xc/xcodes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

xcodes

sudo port install xcodes
  • normalized package name match
  • 一致条件: Xcodes
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/xcodes/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment