HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

xcodes — Download, install, and manage multiple Xcode versions. See also: `xcodes runtimes`. More information

Submitted by: @import:tldr-pages··
0
Viewed 0 times
xcodescommandmultipleandinstallclimanagedownload
macos

Problem

How to use the xcodes command: Download, install, and manage multiple Xcode versions. See also: xcodes runtimes. More information: <https://github.com/xcodesorg/xcodes#commands>.

Solution

xcodes — Download, install, and manage multiple Xcode versions. See also: xcodes runtimes. More information: <https://github.com/xcodesorg/xcodes#commands>.

List all installed Xcode versions:
xcodes installed


List all available Xcode versions:
xcodes list


Select an Xcode version by specifying a version number or a path:
xcodes select {{xcode_version|path/to/Xcode.app}}


Download and install a specific Xcode version:
xcodes install {{xcode_version}}


Install the latest Xcode release and select it:
xcodes install --latest --select


Download a specific Xcode version archive to a given directory without installing it:
xcodes download {{xcode_version}} --directory {{path/to/directory}}

Code Snippets

List all installed Xcode versions

xcodes installed

List all available Xcode versions

xcodes list

Select an Xcode version by specifying a version number or a path

xcodes select {{xcode_version|path/to/Xcode.app}}

Download and install a specific Xcode version

xcodes install {{xcode_version}}

Install the latest Xcode release and select it

xcodes install --latest --select

Context

tldr-pages: osx/xcodes

Revisions (0)

No revisions yet.