All apps/xcodes

xcodes

xcodes

Manages Xcode versions installed on a Mac.

Runs as xcodes|macOS

Command form

ai-draft · 3 tasks · 10 fields

List, install and select Xcode versions. Credentials and other subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui xcodes

xcodes list

List available versions
List available versionsExample values, fixed in this page — nothing here reaches a terminal
Basic
Data source
2 choicesenum
Xcode directory
directory
TasksEach one presets the form for one job
List versions
data_sourcedirectory
ParametersOnly these flags are editable in the form
Data source
enum
--data-sourcexcodereleasesapple
Xcode directory
path
--directory

xcodes install

Download and install Xcode
Download and install XcodeExample values, fixed in this page — nothing here reaches a terminal
Basic
Latest release set by task
--latest
Install directory
directory
TasksEach one presets the form for one job
Install latest
latestdirectory
ParametersOnly these flags are editable in the form
Version
string · positional 0
Latest release
boolean
--latest
Latest prerelease
boolean
--latest-prerelease
Local Xcode.xip
path
--path
Install directory
Defaults to /Applications.
path
--directory
Experimental unxip
boolean
--experimental-unxip

xcodes select

Select an Xcode
Select an XcodeExample values, fixed in this page — nothing here reaches a terminal
Basic
Version or path*
string
TasksEach one presets the form for one job
Select version
version_or_path
ParametersOnly these flags are editable in the form
Version or path
string · positional 0
Print selected path
boolean
-p--print-path
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed xcodes against its version. A form that does not match your version is not offered.